I am trying to install openssl1.0.1e on a 64bit FC16 machine. I already have one older version (1.0.0j) installed in my machine. My application is having some memory corruption and trying to debug it through valgrind tool. Valgrind shows lots of "Uninitialized Variable" message for openssl functions which I want to suppress by installing latest openSSL with PURIFY macro enabled. I am installing it using following commands
./config -DPURIFY shared
make
make
is stopping installation and throwing below errors:
/usr/bin/ld: libcrypto.a(e_4758cca.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
libcrypto.a(e_4758cca.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/downloads/openssl-1.0.1e'
make[3]: *** [do_linux-shared] Error 2
make[3]: Leaving directory `/home/downloads/openssl-1.0.1e'
make[2]: *** [libcrypto.so.1.0.0] Error 2
make[2]: Leaving directory `/home/downloads/openssl-1.0.1e'
make[1]: *** [shared] Error 2
make[1]: Leaving directory `/home/downloads/openssl-1.0.1e/crypto'
make: *** [build_crypto] Error 1
What could be the reason for this error?
Thanks in advance!