how to link python against static sys libs?

Martin v. Löwis martin at v.loewis.de
Wed Apr 23 15:22:05 EDT 2003


"David McNab" <david at nospam-freenet.org.nz> writes:

> I'm having a bit of a nightmare trying to build python to link the sys
> libs (eg glibc) statically.

I haven't check recently, but I think static libraries are not really
supported on Linux anymore. The C libraries relies on dynamic loading
for certain functions (such has netdb), and there is no way to build a
statically-linked executable that uses these functions.

Regards,
Martin





More information about the Python-list mailing list