/usr/bin/ld: libcrypto.a(x86_64-gcc.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libcrypto.a(x86_64-gcc.o): could not read symbols: Bad value'
I got this error while trying to compile and make openssl.
I have tried
export CFLAGS=-fPIC
But still no luck in solving the error. Please advise.