Nothing is building on Ubuntu 20.04 with OpenSSL 1.1.1f libraries #2083
Replies: 8 comments 15 replies
-
Update
|
Beta Was this translation helpful? Give feedback.
-
I had some issues on ArchLinux, but not the same error as @hackdefendr. Maybe you need to use another gcc version. I'm not currently using Ubuntu though. You could try with something like:
Really a shot in the dark though. |
Beta Was this translation helpful? Give feedback.
-
I gave it a shot, but unfortunately got the same errors. I think this is due to the latest change from patching an OpenSSL vulnerability. Something was introduced in that patch that is causing every single Ruby compile that has SSL dependencies to crash. |
Beta Was this translation helpful? Give feedback.
-
@hackdefendr Sorry that you're experiencing trouble. ruby-build does nothing to ensure OpenSSL compatibility, therefore this isn't a sign of breakage in ruby-build and this report should be moved to the Discussion area instead. You need to have a compatible OpenSSL version installed on your system in order to build Ruby. You can download and compile your own OpenSSL if all else fails and link to it using |
Beta Was this translation helpful? Give feedback.
-
Please re-open this and do a better investigation. --with-openssl-dir is not a Ruby configure option anymore. I do have the correct SSL libraries installed already as I did in June when this worked. Based on other discussions, you aren't addressing any of the complaints there either. This absolutely is an issue with the ruby-build process. Please stop telling people to use discussions because nobody is discussing anything. |
Beta Was this translation helpful? Give feedback.
-
On ArchLinux the following works for me to build Ruby today:
Also had to install openssl-1.1, because ArchLinux uses v3 currently. No idea if that helps you on Ubuntu though. It would of course be great if ruby-build was smart enough to search for openssl versions or at least notify with a better error message which openssl version is required. With openssl-1.0 builds also fail. |
Beta Was this translation helpful? Give feedback.
-
@mislav please re-open this as a bug. It may be a bug with openssl, but it is impacting everything Ruby with a dependency to it to fail. |
Beta Was this translation helpful? Give feedback.
-
@hackdefendr It is not a bug of ruby-build but a bug of your environment or CRuby/openssl. |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce the behavior
Expected vs. actual behavior
Logs
https://gist.github.com/hackdefendr/0843d822fbfbecdc777b007bbe82aea8
Notes
There seems to be a few discussions around build failures on Ubuntu, but no actual solutions are being suggested.
Beta Was this translation helpful? Give feedback.
All reactions