[PYTHON-CRYPTO] Problems building M2Crypto on CentOS running x86_64

Miloslav Trmac mitr at REDHAT.COM
Thu Dec 10 18:01:16 CET 2009


Hello,
----- "Bill" <boober95 at ROGERS.COM> wrote:
> gcc -pthread -shared build/temp.linux-x86_64-2.5/SWIG/_m2crypto_wrap.o 
> -L/usr/local/ssl/lib -lssl -lcrypto -o 
> build/lib.linux-x86_64-2.5/M2Crypto/__m2crypto.so
> /usr/bin/ld: /usr/local/ssl/lib/libcrypto.a(x86_64cpuid.o): relocation
> R_X86_64_PC32 against `OPENSSL_cpuid_setup' can not be used when making a 
> shared object; recompile with -fPIC

You have a local OpenSSL build that does not contain a shared library.
    Mirek



More information about the python-crypto mailing list