Skip to content

Build Failure on WSL: Ubuntu 22.04 on x86_64 using ruby-build 20231107 #2298

Answered by nzifnab
nzifnab asked this question in Build failures
Discussion options

You must be logged in to vote

I'm still unclear why the ruby 3.0.6 install was failing, but I have a working version of that in a different instance of WSL so I'm not going to worry about it... looking at that working instance, I suspect it has something to do with openssl:

zifnab:~$ ruby --version
ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]
zifnab:~$ ruby -r openssl -e 'puts OpenSSL::OPENSSL_VERSION'
OpenSSL 1.1.1t  7 Feb 2023

1.1.1t... so when trying a modern install with openssl 3, is that why it's failing horribly and giving segfaults and the like?

I was able to get ruby 3.2.2 installed by using openssl 3.1 from homebrew and DISABLING yjit:

RUBY_CONFIGURE_OPTS="--with-open-ssl-dir=$(brew --pref…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@mislav
Comment options

@kalicki
Comment options

@osmanbowser
Comment options

@KelsonF
Comment options

@nzifnab
Comment options

Answer selected by nzifnab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants