This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jeff.Blaine
Recipients Jeff.Blaine, alex_lai, drdevious, eric.araujo
Date 2011-07-18.00:56:44
SpamBayes Score 2.128242e-12
Marked as misclassified No
Message-id <1310950606.26.0.619981641442.issue12013@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, this same problem exists with 2.7.1, compiled by myself, and only on some Solaris 10 boxes of ours that have not had a lot of recent patching.

==================================================================

On an old-ish Solaris 10 box:

% /tmp/py271test/bin/python -m test.regrtest
Traceback (most recent call last):
  File "/tmp/py271test/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/tmp/py271test/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/tmp/py271test/lib/python2.7/test/regrtest.py", line 211, in <module>
    from test import test_support
  File "/tmp/py271test/lib/python2.7/test/test_support.py", line 10, in <module>
    import socket
  File "/tmp/py271test/lib/python2.7/socket.py", line 47, in <module>
    import _socket
ImportError: ld.so.1: python: fatal: relocation error: file /tmp/py271test/lib/python2.7/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found
==================================================================

On a modern Solaris 10 box patched 2 months ago:


% /tmp/py271test/bin/python -m test.regrtest
[ runs, takes too long, so we'll test the stuff that ]
[ imports socket ... ]
^C


Python-2.7.1:cairo> for i in `grep -l "import socket" /tmp/py271test/lib/python
2.7/test/*py | sed 's/\.py//g'`; do echo "RUNNING $i"; /tmp/py271test/bin/pytho
n -m test.`basename $i`; done 2>&1 | /usr/sfw/bin/ggrep -E '(OK|RUNNING)'
RUNNING /tmp/py271test/lib/python2.7/test/test_asyncore
OK (skipped=2)
RUNNING /tmp/py271test/lib/python2.7/test/test_docxmlrpc
OK
RUNNING /tmp/py271test/lib/python2.7/test/test_epoll
RUNNING /tmp/py271test/lib/python2.7/test/test_ftplib
OK
RUNNING /tmp/py271test/lib/python2.7/test/test_httplib
OK (skipped=1)
RUNNING /tmp/py271test/lib/python2.7/test/test_import
OK
RUNNING /tmp/py271test/lib/python2.7/test/test_kqueue
RUNNING /tmp/py271test/lib/python2.7/test/test_logging
OK
RUNNING /tmp/py271test/lib/python2.7/test/test_mailbox
OK
RUNNING /tmp/py271test/lib/python2.7/test/test_multiprocessing
...etc...
History
Date User Action Args
2011-07-18 00:56:46Jeff.Blainesetrecipients: + Jeff.Blaine, eric.araujo, alex_lai, drdevious
2011-07-18 00:56:46Jeff.Blainesetmessageid: <1310950606.26.0.619981641442.issue12013@psf.upfronthosting.co.za>
2011-07-18 00:56:45Jeff.Blainelinkissue12013 messages
2011-07-18 00:56:44Jeff.Blainecreate