python glibc issue

Garrett, Benjamin D benjamin.d.garrett at lmco.com
Thu Aug 4 10:01:01 EDT 2011


Hi, I am running into a problem with Python 2.6 and SuSe 11 SP1. The error message looks just like this one:

https://bugzilla.redhat.com/show_bug.cgi?id=556584

That link implies the fix is to upgrade to > glibc-2.11.90.  But for this particular hardware, it would be difficult to upgrade the core operating system's glibc as novell hasn't blessed a version of glibc > 2.11.1.  Also, using an upgraded dynamic/shared version of glibc seems to produce incompatibilities with core operating systems commands.

So, is it possible to build python against a static version of glibc?  I've tried installing a static glibc 2.12 on a different machine, then configuring python with 'configure -disable-shared --with-libc=/usr/lib64/libc_nonshared.a'.  python builds but an ldd still seems to think the resulting executable depends on libc.so.6.

I've tried google but found nothing concrete.

Any other suggestions or comments would be greatly appreciated.

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110804/a7443e5a/attachment.html>


More information about the Python-list mailing list