Python as shared library on Unix

Gerhard Haering gerhard.haering at gmx.de
Wed Sep 18 17:24:25 EDT 2002


* Rolf Kalbermatter <r.kalbermatter at hccnet.nl> [2002-09-18 22:48 +0200]:
> Under Linux I see no option to build a python.so.2.2.1 or similar to link my
> application to with the dl* functions.

There isn't any except in Python 2.3-CVS and Python's patched from various
distributors. Debian's Python builds a shared library, for example.

OTOH you don't really need to have a shared library to embed Python. Just link
statically against libpython{major}{minor}.a.

-- Gerhard




More information about the Python-list mailing list