Python as shared library on Unix

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

* Rolf Kalbermatter <r.kalbermatter at> [2002-09-18 22:48 +0200]:
> Under Linux I see no option to build a 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