OpenSSL 1.1.1q failing to build #2009
-
This is a fresh install of macOS 12.4 on a M1 Pro MacBook Pro. Attempting to install Ruby 3.1.2.
The OpenSSL 1.1.1q fails to build in the tests:
|
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 12 replies
-
It's a bug in openssl upstream: openssl/openssl#18720 |
Beta Was this translation helpful? Give feedback.
-
The default of An easy fix for 3.1.2 would be to install openssl 3 instead of openssl 1.1, thoughts on that @mislav? => #2000 |
Beta Was this translation helpful? Give feedback.
-
The |
Beta Was this translation helpful? Give feedback.
-
Alright, then I think we can close this. |
Beta Was this translation helpful? Give feedback.
-
i'm sorry. What does this mean. How do I do that? |
Beta Was this translation helpful? Give feedback.
-
Run your ruby install with the argument |
Beta Was this translation helpful? Give feedback.
-
lifesaver. thanks |
Beta Was this translation helpful? Give feedback.
-
20220713 also fixed this issue for Ruby 3.1.x by moving to OpenSSL 3. |
Beta Was this translation helpful? Give feedback.
-
@mislav @hsbt Do you think we should automatically add the include/patch openssl 1.1.1q before building it? Another thought was could we just revert to 1.1.1p, but that would mean missing a CVE fix (https://www.openssl.org/news/openssl-1.1.1-notes.html), which seems bad. |
Beta Was this translation helpful? Give feedback.
-
Still having issues even after trying this command: I'm trying to install React-Native on my MacOS M1, React-Native is requiring 2.7.6 version of ruby. But still seems to run onto this issue. Please help. |
Beta Was this translation helpful? Give feedback.
OPENSSL_CFLAGS=-Wno-error=implicit-function-declaration ruby-build/rbenv/asdf ...
helps and works around the missing include in openssl.The default of
-Werror,-Wimplicit-function-declaration
is macOS-specific (so this does not happen on Linux).An easy fix for 3.1.2 would be to install openssl 3 instead of openssl 1.1, thoughts on that @mislav? => #2000