Red Hat Bugzilla – Bug 18883
Python module 'socketmodule.so' not working with more recent libc
Last modified: 2007-04-18 12:29:14 EDT
The following error results when trying to 'import socket' on a system
"ImportError: /usr/lib/python1.5/lib-dynload/socketmodule.so: symbol
gethostbyaddr_r, version GLIBC_2.1.2 not defined in file libc.so.6 with
link time reference "
The reference appears to be to the following symbol:
gethostbyaddr_r@@GLIBC_2.1.2 , which should be ok with a more recent
version of libc but is not. There are also other modules with similar
By recompiling the python1.5.2-28 SRPM the only depencencies I now see are
based on glibc-2.0 or 2.1, no sub-minor version number.
works in recent rawhides.