Hi,

I am having trouble building a shared object for openssl. I am getting
the following error:


usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
libcrypto.a(e_4758cca.o): relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with
-fPIC
libcrypto.a(e_4758cca.o): could not read symbols: Bad value

Although I am compiling with -fPIC:

For example:

gcc -I.. -I../.. -I../asn1 -I../evp -I../../include  -fPIC -DOPENSSL_PIC
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64
-DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DOPENSSL_IA32_SSE2
-DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM
-DAES_ASM -DWHIRLPOOL_ASM   -c -o ts_asn1.o ts_asn1.c

Any ideas as to what could be happening. I am using the latest openssl
source.

Thanks,

Bram Cymet

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to