[Python-Dev] Problem with SSL and socketmodule on Debian Potato?

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Thu, 12 Apr 2001 23:59:58 +0200


> ImportError:
> /scratch/nascheme/py_cvs/dist/src/linux/build/lib.linux-i686-2.1/_socket.so:
> undefined symbol: RAND_status

That symbol should be defined in libcrypto.so (it is on my SuSE
system); so that may be a problem with the Debian libssl package. SuSE
ships openssl-0.9.5a-54.

It appears that RAND_status was indeed added between 0.9.4 and
0.9.5. A test for OPENSSL_VERSION_NUMBER would probably help; in
0.9.5a, it has the value of 0x0090581fL.

Regards,
Martin