m2crypto problems

Will Benton usenet at woggo.org
Tue Mar 12 02:12:11 EST 2002


Hello, all.  I'm trying to run the example echo server (from the
m2crypto docs), but I get the following error:

[willb at ludwig ~/src/python/examples]$ ./sslecho.py 
Traceback (innermost last):
  File "./sslecho.py", line 3, in ?
    from M2Crypto import SSL, X509
  File "/usr/lib/python1.5/site-packages/M2Crypto/__init__.py", line
6, in ?
    import _m2crypto
  File "/usr/lib/python1.5/site-packages/M2Crypto/_m2crypto.py", line
2, in ?    import _m2cryptoc
ImportError: /usr/lib/python1.5/site-packages/M2Crypto/_m2cryptoc.so:
undefined symbol: d2i_SSL_SESSION

It looks like that symbol is defined in libcrypto, which is in my
LD_LIBRARY_PATH.
I'm using Red Hat 7.2, OpenSSL 0.9.6b, and m2crypto 0.05_snap4. 
Anyone know how I can fix this?



Thanks,
wb



More information about the Python-list mailing list