asdf-vm / asdf-ruby

Ruby plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
650 stars 133 forks source link

Ruby 3.2.3 cannot be installed on Ubuntu 22.04 #385

Open ThisIsMissEm opened 7 months ago

ThisIsMissEm commented 7 months ago

Log file at: https://gist.github.com/ThisIsMissEm/275f72d7ee6713dd40b463dd6970e238

Terminal output:

image
Dounx commented 6 months ago

Same issue when install ruby 3.3,0.

I list the compiled openssl dir, it has no lib dir.

dounx@PC:~$ ls -l /home/dounx/.asdf/installs/ruby/3.3.0/openssl/
total 16
drwxr-xr-x 2 dounx dounx 4096 Feb 23 18:33 bin
drwxr-xr-x 3 dounx dounx 4096 Feb 23 18:33 include
drwxr-xr-x 5 dounx dounx 4096 Feb 23 18:33 lib64
drwxr-xr-x 4 dounx dounx 4096 Feb 23 18:33 ssl

So I make a soft link from lib64 to lib.

ln -s /home/dounx/.asdf/installs/ruby/3.3.0/openssl/lib64 /home/dounx/.asdf/installs/ruby/3.3.0/openssl/lib

And install ruby 3.3.0 successful.

dx7 commented 1 month ago

same issue installing Ruby 3.3.4 on Ubuntu 24.04.

solved creating a symlink (in other terminal window) after openssl install and before ruby install:

ln -s $HOME/.asdf/installs/ruby/3.3.4/openssl/lib64 $HOME/.asdf/installs/ruby/3.3.4/openssl/lib