sockets and freebsd (works w/ 2.1.3 but not 2.2.1)
andymac at bullseye.apana.org.au
Thu Aug 22 07:19:04 EDT 2002
On Wed, 21 Aug 2002, Tracy Ruggles wrote:
> Just downloaded and installed Python 2.2.1 and tried to run configure and
> then make, but they both stumbled on building the socket extension:
> I ran the above gcc and cc commands straight from the command line and
> moved the _socket.so file to python's lib directory just to see what would
> axionf% python
> Python 2.2.1 (#5, Aug 21 2002, 03:45:02)
> [GCC 2.95.3 20010315 (release) [FreeBSD]] on freebsd4
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import socket
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/home/axiomf/usr/local/lib/python2.2/socket.py", line 41, in ?
> from _socket import *
> ImportError: /usr/lib/libssl.so.2: Undefined symbol "OpenSSLDie"
> Does anybody have a clue what's going on here?
I can't replicate this on a stock 4.4-RELEASE system.
The failure is that Python (as built) expects the SSL library
(libssl.so.2) to have a symbol "OpenSSLDie", but your copy of that
library doesn't have that symbol.
Have you attempted to update the SSL library by any chance?
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au | Snail: PO Box 370
andymac at pcug.org.au | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
More information about the Python-list