2.3.1 build fails on Ubuntu 18.04 with libssl-dev installed #1964
-
Hey folks, Anything I can do to help debug this further or perhaps force it to check a path with a flag? System
Steps to reproduce
Output
|
Beta Was this translation helpful? Give feedback.
Replies: 16 comments 1 reply
-
Following on from a diffferent error message on #1207 Does the suggestion need to be improved, or is this some ubuntu wierdness? |
Beta Was this translation helpful? Give feedback.
-
Interesting, great fix @huwd! I was facing this issue as well, and I believe this thread in rbenv faced the same issue about a month ago: rbenv/rbenv#1081 |
Beta Was this translation helpful? Give feedback.
-
I'm a little unclear on how SSL dependencies work across Linux, but if someone more experienced either with Rbenv or SSL dependencies doesn't mind having a quick chat I'm happy to put in a PR that either changes the warning message to @IRobL can I confirm that you're also running 18.04? |
Beta Was this translation helpful? Give feedback.
-
I made this observation while operating on a fresh install of Debian 9. On Debian, It seems as though installing I haven't even glanced at the rbenv codebase, but this behavior of the packages makes me suspect that ruby-build's dependency check is explicitly looking for proof of |
Beta Was this translation helpful? Give feedback.
-
Is there a workaround for mac users. I think |
Beta Was this translation helpful? Give feedback.
-
Found a fix for Mac High Sierra by |
Beta Was this translation helpful? Give feedback.
-
@CoryWritesCode sorry only just saw that, glad you found a solution. |
Beta Was this translation helpful? Give feedback.
-
I think so @huwd! |
Beta Was this translation helpful? Give feedback.
-
Thank so much @huwd |
Beta Was this translation helpful? Give feedback.
-
Thank you @huwd it worked! |
Beta Was this translation helpful? Give feedback.
-
Why is this closed? The workaround by @huwd is great, but most people aren't going to know that and not everyone will find their way here by goog like I did. I understand that @CoryWritesCode found a Mac solution, but this issue references installation on Ubuntu. I thought a PR to change the error message seemed like a reasonable solution. |
Beta Was this translation helpful? Give feedback.
-
This worked for me |
Beta Was this translation helpful? Give feedback.
-
sudo apt install libssl1.0-dev E: Package 'libssl1.0-dev' has no installation candidate |
Beta Was this translation helpful? Give feedback.
-
@aristotelesbr2014 Could you try this #1199 (comment) I used this specifically:
However I'm running on another issue when I run
EDIT: Found this as well rubygems/rubygems#2415 (comment) export SSL_CERT_DIR=/etc/ssl/certs
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
gem install bundler and I was able to |
Beta Was this translation helpful? Give feedback.
-
@aesyondu fix worked for me on Ubuntu 20.04. In my cases Thanks! |
Beta Was this translation helpful? Give feedback.
-
@aesyondu I've scoured the internet, and your technique is the only one I've found for successfully installing older versions of Ruby like 3.0.3 or 2.7.2 on Ubuntu 22.04. Thank you! One small fix: it should be |
Beta Was this translation helpful? Give feedback.
@aristotelesbr2014 Could you try this #1199 (comment)
I used this specifically: