[openssl-users] Openssl Compilation Error

Sonali Priyadarshini sonali.ritu10 at gmail.com
Fri Dec 4 10:40:39 UTC 2015


Hi all

I am compiling Openssl 1.0.h version in SLES 11 SP1 ,in make command I am
facing some errors.I have the instructions properly as given.

The error was:

/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld:
libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 against `.text' can not
be used when making a shared object; recompile with -fPIC
libcrypto.a(x86_64-gcc.o): could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [link_a.gnu] Error 1
make[4]: Leaving directory
`/home/build/ps/openssl-1.0.1h.tar/openssl-1.0.1h'
make[3]: *** [do_linux-shared] Error 2
make[3]: Leaving directory
`/home/build/ps/openssl-1.0.1h.tar/openssl-1.0.1h'
make[2]: *** [libcrypto.so.1.0.0] Error 2
make[2]: Leaving directory
`/home/build/ps/openssl-1.0.1h.tar/openssl-1.0.1h'
make[1]: *** [shared] Error 2
make[1]: Leaving directory
`/home/build/ps/openssl-1.0.1h.tar/openssl-1.0.1h/crypto'
make: *** [build_crypto] Error 1


I followed this link

https://stackoverflow.com/questions/10368671/cannot-find-libcrypto-library-error

for solution.

Can anyone  please check this.The reason behind this error.

Thanks & regards

Sonali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20151204/39d8a37d/attachment.html>


More information about the openssl-users mailing list