This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Problem with SSL and socketmodule
Type: Stage:
Components: Extension Modules Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: moshez Nosy List: gvanrossum, moshez
Priority: normal Keywords:

Created on 2001-04-13 17:55 by gvanrossum, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (3)
msg4240 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-04-13 17:55
Subject: [Python-Dev] Problem with SSL and socketmodule
on Debian Potato?
From: Neil Schemenauer <nas@python.ca>
To: python-dev@python.org
Cc: Moshe Zadka <moshez@zadka.site.co.il>
Date: 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

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
msg4241 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-04-13 20:56
Logged In: YES 
user_id=6380

I've checked in a tentative fix, provided by Martin von
Loewis.

I'm keeping this bug report open because Moshe thought that
Martin's fix was broken, but failed to give a better fix
that Martin could agree to.
msg4242 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-09-05 18:06
Logged In: YES 
user_id=6380

Closing this. In the end we reversed the checkin because it
broke on some platforms and there was no clear way to fix
it.
History
Date User Action Args
2022-04-10 16:03:57adminsetgithub: 34320
2001-04-13 17:55:32gvanrossumcreate