[Python-Dev] Problem with SSL and socketmodule on Debian Potato?
Neil Schemenauer
nas@python.ca
Thu, 12 Apr 2001 14:39:37 -0700
Fresh CVS tree:
Python 2.1c1 (#2, Apr 12 2001, 17:23:20)
[GCC 2.95.2 20000220 (Debian GNU/Linux)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import socket
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/scratch/nascheme/py_cvs/dist/src/Lib/socket.py", line 41, in ?
from _socket import *
ImportError: /scratch/nascheme/py_cvs/dist/src/linux/build/lib.linux-i686-2.1/_socket.so: undefined symbol: RAND_status
socketmodule is linked thusly:
gcc -shared build/temp.linux-i686-2.1/socketmodule.o -L/usr/local/lib -lssl -lcrypto -o build/lib.linux-i686-2.1/_socket.so
The SSL package is:
libssl09-dev 0.9.4-5
I've no time to dig into the details right now but I should have
time tonight. I will be gone on holiday tomorrow.
Neil