Mantis - python
Viewing Issue Advanced Details
4953 regular use major always 2012-05-31 00:40 2012-06-04 18:00
solj  
maciej  
normal  
closed  
no change required  
none    
none  
0004953: Missing libraries for socket module
# which python
/opt/csw/bin/python
# python
Python 2.6.8 (unknown, Apr 13 2012, 17:08:12) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/csw/lib/python/socket.py", line 46, in <module>
    import _socket
ImportError: ld.so.1: python: fatal: relocation error: file /opt/csw/lib/python/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found
>>>
Issue History
2012-05-31 00:40 solj New Issue
2012-06-02 13:05 maciej Status new => assigned
2012-06-02 13:05 maciej Assigned To => maciej
2012-06-02 13:06 maciej Note Added: 0009894
2012-06-04 17:56 solj Note Added: 0009902
2012-06-04 18:00 maciej Note Added: 0009903
2012-06-04 18:00 maciej Status assigned => closed
2012-06-04 18:00 maciej Resolution open => no change required

Notes
(0009894)
maciej   
2012-06-02 13:06   
I can't reproduce it.

maciej@vsol06 ~/src/collectd $ python -V
Python 2.6.8
maciej@vsol06 ~/src/collectd $ python
Python 2.6.8 (unknown, Apr 13 2012, 18:48:06) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>>

Is this a fresh installation?
(0009902)
solj   
2012-06-04 17:56   
Yeah, we took a look at this the other night and it ended up being due to a _really_ old version of Solaris 10 that is installed on that machine. I'm going to try patching in order to fix the problem. You can close this ticket for now.

Thanks!
(0009903)
maciej   
2012-06-04 18:00   
Alright, thanks for the feedback.