I am getting this error from an openssl-1.0.1g file when trying to make php-5.4.23
/usr/bin/ld: /opt/openssl-1.0.1g/lib/libcrypto.a(cversion.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /opt/openssl-1.0.1g/lib/libcrypto.a: could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 Can anyone tell me why this is happening? I was able to build php with openssl-1.0.1f so why is this error coming up with 1.0.1g? My system is RHEL6