FS#53750 - [ruby] Installing packages with gem doesn't work
Attached to Project:
Arch Linux
Opened by Martin Tournoij (Carpetsmoker) - Saturday, 22 April 2017, 08:48 GMT
Last edited by Anatol Pomozov (anatolik) - Saturday, 22 April 2017, 14:22 GMT
Opened by Martin Tournoij (Carpetsmoker) - Saturday, 22 April 2017, 08:48 GMT
Last edited by Anatol Pomozov (anatolik) - Saturday, 22 April 2017, 14:22 GMT
|
Details
Installing packages with gem doesn't work:
$ gem install jekyll ERROR: Loading command: install (LoadError) libssl.so.1.1: cannot open shared object file: No such file or directory - /usr/lib/ruby/2.4.0/x86_64-linux/openssl.so ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass $ pacman -Q | grep ruby ruby 2.4.1-1 $ pacman -Syu :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date herecura 84.7 KiB 1598K/s 00:00 [##############################################] 100% :: Starting full system upgrade... warning: vagrant: ignoring package upgrade (1.8.5-1 => 1.9.2-1) there is nothing to do $ ldd /usr/lib/ruby/2.4.0/x86_64-linux/openssl.so|grep ss libssl.so.1.1 => not found $ ldconfig -p | grpe ssl.so libssl.so.1.0.0 (libc6,x86-64) => /usr/lib/libssl.so.1.0.0 libssl.so.1.0.0 (libc6) => /usr/lib32/libssl.so.1.0.0 libssl.so (libc6,x86-64) => /usr/lib/libssl.so libssl.so (libc6) => /usr/lib32/libssl.so ruby 2.4.0 has the same problem. Looks like a recent openssl upgrade broke it(? didn't check) |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Saturday, 22 April 2017, 14:22 GMT
Reason for closing: Fixed
Additional comments about closing: 2.4.1-2
Saturday, 22 April 2017, 14:22 GMT
Reason for closing: Fixed
Additional comments about closing: 2.4.1-2
Strange; this didn't fix it for me, but perhaps I did something wrong.
I fixed it by downloading the Ruby package's source and built my own 2.4.1 package, which does work.
guess package maintainer compiled against wrong libssl version.
Yup, seems to work. Thanks Anatol!