[PYTHON-CRYPTO] Trouble building m2crypto

CARNES, MARK E (MARK) carnesm at LUCENT.COM
Tue Apr 27 22:24:26 CEST 2004


I have been trying to build m2crypto, but it is not linking successfully, and I was hoping someone on the list may have overcome a similiar problem.

I am compiling on Solaris 8 with gcc 3.3.2, python 2.2.3, swig 1.3.21, openssl 0.9.7d

Everything runs ok on the step:

        python setup.py build

It dies while trying to link and produces the following error:

gcc -shared build/temp.solaris-2.8-sun4u-2.2/_m2crypto.o -L/usr/lib -lssl -lcrypto -o build/lib.solaris-2.8-sun4u-2.2/M2Crypto/__m2crypto.so
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x3cc       /usr/lib/libssl.a(s3_lib.o)
<unknown>                           0x3d0       /usr/lib/libssl.a(s3_lib.o)
<unknown>                           0x3d4       /usr/lib/libssl.a(s3_lib.o)
...
<lots more>
...

Anyone know why I'd get these link errors?




More information about the python-crypto mailing list