Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.8.7-p374 Error running '__rvm_make -j4' #4332

Open
istiaqiut opened this issue Mar 15, 2018 · 2 comments
Open

1.8.7-p374 Error running '__rvm_make -j4' #4332

istiaqiut opened this issue Mar 15, 2018 · 2 comments

Comments

@istiaqiut
Copy link

istiaqiut commented Mar 15, 2018

I can not install ree-1.8.7-2012.02 on ubuntu 16.04.
I am getting the following error

Error running '__rvm_make -j4'

There has been an error while running make. Halting the installation.

To proceed rvm requires a ruby-1.8.7-p374 compatible ruby is installed.
We attempted to install it automatically but it failed with status 2.
Please install it manually (or a compatible alternative) to proceed.

showing last 15 lines of /home/istiaq/.rvm/log/1521112607_ruby-1.8.7-p374/make.log

cp ../.././ext/openssl/lib/openssl/cipher.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/config.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common
cp ../.././ext/openssl/lib/net/ftptls.rb ../../.ext/common/net
cp ../.././ext/openssl/lib/net/telnets.rb ../../.ext/common/net
gcc -shared -o ../../.ext/x86_64-linux/openssl.so ossl_x509cert.o ossl_x509req.o ossl_pkey_dh.o ossl_ssl_session.o ossl_bn.o ossl_pkcs7.o ossl_x509store.o ossl_x509.o ossl_ocsp.o ossl_x509crl.o ossl_pkey_dsa.o ossl_ssl.o ossl_digest.o ossl_asn1.o ossl_x509revoked.o ossl_pkcs12.o ossl_x509name.o ossl_pkcs5.o ossl_pkey_ec.o ossl_cipher.o ossl_x509ext.o ossl_engine.o ossl_config.o ossl_rand.o ossl_x509attr.o ossl_ns_spki.o openssl_missing.o ossl_hmac.o ossl_pkey_rsa.o ossl_pkey.o ossl.o ossl_bio.o -L. -L../.. -L.  -rdynamic -Wl,-export-dynamic -L/usr/local/lib    -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby  -lssl -lcrypto -lrt -ldl -lcrypt -lm   -lc
/usr/bin/ld: /usr/local/lib/libssl.a(s3_meth.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libssl.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:200: recipe for target '../../.ext/x86_64-linux/openssl.so' failed
make[1]: *** [../../.ext/x86_64-linux/openssl.so] Error 1
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/openssl'
Makefile:293: recipe for target 'all' failed
make: *** [all] Error 1
+++ return 2

Make.log

@pkuczynski
Copy link
Member

By any chance do you have openssl compiled yourself instead of coming from the system?

@pkuczynski pkuczynski added this to the rvm-1.29.4 milestone Mar 15, 2018
@istiaqiut
Copy link
Author

istiaqiut commented Mar 15, 2018

Yes. The same kind of problem was showing. After that, I removed openssl and installed a new one.
Other ruby versions are installed successfully e.g. 2.5.0, 2.4.3, 2.3.6.

@pkuczynski pkuczynski modified the milestones: rvm-1.29.4, rvm-1.29.5 Sep 23, 2018
@pkuczynski pkuczynski modified the milestones: rvm-1.29.5, rvm-1.29.7 Dec 12, 2018
@pkuczynski pkuczynski modified the milestones: rvm-1.29.7, rvm-1.29.8 Jan 3, 2019
@pkuczynski pkuczynski modified the milestones: rvm-1.29.8, rvm-1.29.9 May 8, 2019
@pkuczynski pkuczynski modified the milestones: rvm-1.29.9, rvm-1.29.10 Jul 10, 2019
@pkuczynski pkuczynski modified the milestones: rvm-1.29.10, rvm-1.29.11 Mar 25, 2020
@pkuczynski pkuczynski modified the milestones: rvm-1.29.11, rvm-1.29.12 Dec 29, 2020
@pkuczynski pkuczynski modified the milestones: rvm-1.29.12, rvm-1.29.13 Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@pkuczynski @istiaqiut and others