Hi All, I'm trying to get ssl support for my server running SLES 10 and python 2.4.5 and I'd like to send emails automatically. I just installed openssl 0.9.8i with no problems. It installed to the usual /usr/local/ssl. I then ran python setup.py build_ext -I/usr/local/ssl/include -L/usr/local/ssl/lib as instructed in the INSTALL.txt and found the following error:
# python setup.py build_ext -I/usr/local/ssl/include -L/usr/local/ssl/lib running build_ext building 'OpenSSL.crypto' extension gcc -pthread -shared build/temp.linux-x86_64-2.4/src/crypto/crypto.o build/temp.linux-x86_64-2.4/src/crypto/x509.o build/temp.linux-x86_64-2.4/src/crypto/x509name.o build/temp.linux-x86_64-2.4/src/crypto/pkey.o build/temp.linux-x86_64-2.4/src/crypto/x509store.o build/temp.linux-x86_64-2.4/src/crypto/x509req.o build/temp.linux-x86_64-2.4/src/crypto/x509ext.o build/temp.linux-x86_64-2.4/src/crypto/pkcs7.o build/temp.linux-x86_64-2.4/src/crypto/pkcs12.o build/temp.linux-x86_64-2.4/src/crypto/netscape_spki.o build/temp.linux-x86_64-2.4/src/util.o -L/usr/local/ssl/lib -lssl -lcrypto -o build/lib.linux-x86_64-2.4/OpenSSL/crypto.so /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: /usr/local/ssl/lib/libcrypto.a(cryptlib.o): relocation R_X86_64_32 against `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC /usr/local/ssl/lib/libcrypto.a: could not read symbols: Bad value collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 I'm not quite sure how to fix this. Any ideas would be much appreciated. On my laptop, running openSuSE 11.1 x86_64 all I did was use yast to install python-openssl and it worked without a hitch. Somehow it didn't work on my work server. Best, Patrick ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
