SWIG related: Error after installing m2crypto undefined symbol: EVP_rc5_32_12_16_ofb

Sean stuffduff at cox.net
Tue Feb 3 17:41:49 EST 2004


System is Redhat 9.0, Python 2.2.3, Zope 2.6.2

built OpenSSL from source:

2791797 Sep 30 14:50:15 2003 openssl-0.9.7c.tar.gz  [LATEST]

used configure options to set for /usr/local and /usr/local/openssl
make
make test
make install

--all-ok

generated demo certificates ok

modified build_ext.py in both places

built SWIG-1.3.20

make check gave error: 
...
/usr/bin/ld: cannot find -lswigtcl8
collect2: ld returned 1 exit status
make[2]: *** [tcl_multi_cpp] Error 1
make[1]: *** [all] Error 2
make[1]: Target `check' not remade because of errors.
...
example.i:20: Warning(451): Setting const char * variable may leak memory
make: *** [check-tcl-examples] Error 1

(googled -lswigtcl8 with no joy) so ...

make install gave no errors

installed m2crypto 0.11 (Target for ZServerSSL is Zope-2.6.2)

[root at host tests]# python alltests.py
Traceback (most recent call last):
  File "alltests.py", line 6, in ?
    from M2Crypto import Rand
  File "/usr/lib/python2.2/site-packages/M2Crypto/__init__.py", line 7, in ?
    import __m2crypto
ImportError: /usr/lib/python2.2/site-packages/M2Crypto/__m2crypto.so: undefined
symbol: EVP_rc5_32_12_16_ofb

Theoretically I have the correct (or later) versions, so what should I check next?

TIA



More information about the Python-list mailing list