[issue12013] file /usr/local/lib/python3.1/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found

Per Rosengren report at bugs.python.org
Thu Nov 17 05:41:49 CET 2011


Per Rosengren <per.rosengren at gmail.com> added the comment:

On Linux:
>nm -C /lib/libc.so.6 |grep ' inet_aton'
00000000000cbce0 W inet_aton

This means that when Python is build with GCC (like on linux), inet_aton
is in system libc. 

If you build with GCC in solaris, inet_aton will be taken from the GCC lib dir. You need to put that GCC lib dir in your LD_LIBRARY_PATH when you run Python.

----------
nosy: +Per.Rosengren

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12013>
_______________________________________


More information about the Python-bugs-list mailing list