-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when installing openssl version 1.0 (MacOS Big Sur, Version 11.7.6. i7) #9
Comments
I confirm I do have the exact same error when trying to install Ruby 3.2.2:
@Victorcorcos any progress on fixing it? |
I got Ruby 3.2.2 installed by downgrading OpenSSL to brew install openssl@1.1
brew list # just to make sure we have it installed
brew unlink openssl@3
brew link openssl@1.1
# ...
openssl version
# OpenSSL 1.1.1u 30 May 2023
rvm install 3.2.2 # all good now! :) |
I was reading this article and following step should solve the issue with ssl
|
Here's what worked for me with RVM: |
Not sure if the bug is fixed already, but I noticed a couple of other related issues. so I'm posting a note on the issue anywats. Check out my explanation here: The certs embedded in the tarball and used by the unit tests expired. You can find patches for 1.02 and 1.1.1 here: There is a patch for 3.1.1 floating around as well if someone needs it. 1.1.1_update_expiring_certificates.patch 1.0.2_update_expiring_certificates.patch I only tweaked the alignment of the 1.1.1 patch so it would line up and apply to 1.0.2 without complaint. I would post a link to the original 1.1.1 patch but I don't have it handy. All these patches do is update the shell script used to make those test certs. The developer ran the updated script and generated new dummy test certs, and the remaining bits are used to update the certs themselves. |
Installing Ruby 3.2.2 using rvm kept installing openssl@1.1 using brew, even though I have openssl@3, and it kept getting the error. Then I ran
and it worked. |
I had this error installing ruby 3.2.3. I had already installed openssl@3 so this fixed it for me
|
Just because people keep finding this thread via web searches and misunderstand the purpose of this repository: This repository, and all issues in it, are only about setting up a workaround to install Any later version of OpenSSL, such as That said, thanks everyone for sharing what worked for you! |
Versions ⚙️
Description 📖
My main intention is just to install Ruby version 3.2.2. However, there is an issue with that. When executing the
rvm install "ruby-3.2.2"
command, there is a problem withopenssl
.make.log
In order to fix this, one of the recommended options was to downgrade openssl and install it's version 1.0. However, when trying to install
openssl@1.0
viabrew install rbenv/tap/openssl@1.0
, this error was generated.Error Log 📎
The text was updated successfully, but these errors were encountered: