[Python-bugs-list] [ python-Bugs-521706 ] Python expects __eprintf on Solaris

noreply@sourceforge.net noreply@sourceforge.net
Fri, 22 Feb 2002 19:58:56 -0800


Bugs item #521706, was opened at 2002-02-22 19:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=521706&group_id=5470

Category: Build
Group: Python 2.1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Kochanski (gpk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python expects __eprintf on Solaris

Initial Comment:
ftp_up.py
Traceback (most recent call last):
  File "/usr/local/bin/ftp_up.py", line 10, in ?
    import ftplib
  File "/usr/local/lib/python2.1/ftplib.py", line 46,
in ?
    import socket
  File "/usr/local/lib/python2.1/socket.py", line 41,
in ?
    from _socket import *
ImportError: ld.so.1: /usr/local/bin/python: fatal:
relocation error: file
/usr/local/lib/python2.1/lib-dynload/_socket.so: symbol
__eprintf: referenced symbol not found


On Solaris 2.6 (current patches), Python 2.1.2
out-of-the-box install.

nm *.a | grep eprintf   shows nothing in /lib and
/usr/lib.  Presumably, the build system is expecting
that function to exist, when it really doesn't.

Same problem on Solaris 2.7:

/usr/local/bin/python
Python 2.1.2 (#1, Jan 23 2002, 10:44:53) [C] on sunos5
Type "copyright", "credits" or "license" for more
information.
>>> import _socket
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: ld.so.1: /usr/local/bin/python: fatal:
relocation error: file
/usr/local/lib/python2.1/lib-dynload/_socket.so: symbol
__eprintf: referenced symbol not found
>>> 


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=521706&group_id=5470