Message140552
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... |
|
Date |
User |
Action |
Args |
2011-07-18 00:56:46 | Jeff.Blaine | set | recipients:
+ Jeff.Blaine, eric.araujo, alex_lai, drdevious |
2011-07-18 00:56:46 | Jeff.Blaine | set | messageid: <1310950606.26.0.619981641442.issue12013@psf.upfronthosting.co.za> |
2011-07-18 00:56:45 | Jeff.Blaine | link | issue12013 messages |
2011-07-18 00:56:44 | Jeff.Blaine | create | |
|