Mailing List Archive

Create Statically linked python library
Right now my application links python dynamically. That means ldd will show
something like

libpython3.11.so.1.0 => /lib64/libpython3.11.so.1.0 (0x00007fd63c600000)

but i dont like this dependency. ii want to link in python statically.
I'd like to get a file like libpython3.11.a or similar.

For that I have found

https://wiki.python.org/moin/BuildStatically

It describes how to compile python interpreter statically and it only
contains view libs

But I;d like to get a libpython3.11.a instead.

How can i get this ?


Thank you
--
https://mail.python.org/mailman/listinfo/python-list