On 28 Mar 2024, at 16:13, Olivier B. via Python-list <python-list@python.org> wrote:Python limited API works on linux, but you do not link against the .so on linux I recall.
But on Linux, it seems that linking to libpython3.so instead of libpython3.11.so.1.0 does not have the same effect, and results in
many unresolved python symbols at link time
Is this functionality only available on Windows?
On 28 Mar 2024, at 16:13, Olivier B. via Python-list <python-list@python.org> wrote:
But on Linux, it seems that linking to libpython3.so instead of libpython3.11.so.1.0 does not have the same effect, and results in
many unresolved python symbols at link time
Is this functionality only available on Windows?
Python limited API works on linux, but you do not link against the .so on linux I recall.
You will have missed that libpython3.so is a symlink to libpython3.11.so.10.
Windows build practices do not translate one-to-one to linux, or macOS.
Barry
----- Synchronet 3.20a-Linux NewsLink 1.114
https://mail.python.org/mailman/listinfo/python-list
On 1 Apr 2024, at 18:14, Left Right via Python-list <python-list@python.org> wrote:You have to specify the version of the limited API that you want to use.
It sounds weird that symbols from Limited API are _missing_ (I'd
expect them to be there no matter what library version you link with).
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 915 |
Nodes: | 10 (1 / 9) |
Uptime: | 16:17:22 |
Calls: | 12,168 |
Calls today: | 4 |
Files: | 186,520 |
Messages: | 2,233,796 |