Re: Problems building M2Crypto on CentOS running x86_64

Miloslav Trmac <[email protected]> Thu, 10 Dec 2009 12:01:16 -0500
Newsgroups gmane.comp.python.cryptography
Message-ID <1278648291.1536681260464476150.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com>
Hello,
----- "Bill" <[email protected]> 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