I want to install ruby 2.7.0 and compile it with openssl. So, I did the following:
rvm package install openssl
rvm install 2.7.0 --with-openssl-dir=/home/arnab/.rvm/usr
Here, $HOME=/home/arnab But, it gives the error and the make.log shows:
/usr/bin/ld: /home/arnab/.rvm/usr/lib/libssl.a(s23_meth.o): Relocation R_X86_64_32 against 'ro.data' can not be used when making a shared object; recompile with -fPIC
/home/arnab/.rvm/usr/lib/libssl.a :error adding symbol: Bad value
Well, it tells me recompile with fPIC but how do I do that? Any help is appreciated.
Aucun commentaire:
Enregistrer un commentaire