3.0.0 build fails on Ubuntu 20.04 with libssl-dev installed #1858
Replies: 5 comments 1 reply
-
I just updated to Mint 19, which I believe is based on 20.04. According to Synaptic, libssl-dev is present (and what you want for modern rubies). Note that there is an incompatibility between libssl-dev and libssl1.0-dev. I installed the latter to build some older rubies, and had trouble removing it. I'm not sure why it worked when I marked it for uninstall the second time. |
Beta Was this translation helpful? Give feedback.
-
We need the full log here to see the compilation error. |
Beta Was this translation helpful? Give feedback.
-
I get this exact same error on Fedora 34 with any Version of Ruby
Full Log : https://pastebin.com/CtA5cUHR |
Beta Was this translation helpful? Give feedback.
-
It fails because the code was intended for use with homebrew and not with linuxbrew. |
Beta Was this translation helpful? Give feedback.
-
is this still a problem without a solution for Ubuntu 22.04 and Ruby 3.2? I'm getting this error and, removing homebrew from the path has worked, but since this is a very old discussion I'm wondering if we might have a definitive solution. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Similar story as #1215
Using
ruby-build
at 02ce13cOS (lsb_release -a)
libssl-dev (apt-cache policy libssl-dev)
OpenSSL
Input
Output
There were a lot of great suggestions in the OP on addressing the issue back then. Tried all of them, but no luck:
Debian-specific, no package with that name in Ubuntu
Was already installed. Did
apt install --reinstall
for bothlibreadline-dev
andlibssl-dev
as wellTried this with
openssl-1.1.1i.tar.gz
(latest)Beta Was this translation helpful? Give feedback.
All reactions