I am trying to port a python script to an old Solaris 10 machine. I downloaded and installed all the required packages from sunfreeware. It crashed in the import line (import CGIHTTPServer) with this error message:


  ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/lib/python2.6/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found


I tried to recompile with libresolve, but I didn't want to do that, so I copied the file _socket.so to my linux machine and edited with ghex2. I replaced the inet_aton with inet_pton because i read that solaris uses inet_pton instead. I've also read in python documentation that both system calls are similar.

I copied back the file _socket.so to the original dir, backed up the old one and replaced with the patched one. It's running and looks OK so far.

Do you think the python socket module will break in the future? 

Do inet_aton and inet_pton return structs compatible? 


Question: If NASA could send a camera into a black hole, could we then see what's inside the black hole?
Answer: No. It would not be possible. Things get very hot around the edge of a black hole. There is no technology that exists or is likely to exist that could protect a camera. The fact that EM radiation is in fact light and the strength of gravity...lalala. No. It's just not possible.