-
Notifications
You must be signed in to change notification settings - Fork 172
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 during installation #545
Comments
Please attach the This is strange:
extconf.rb found OpenSSL 3.0 library; ERR_get_error_all() is a new function in OpenSSL 3.0.
But the actual compilation doesn't use the correct header files. |
Myself as well, same result on
|
@daBee It's most likely a different issue. |
Just tried this:
|
Having the same issue on arm64 Mac.
Attaching the full console output and the gem_make.out |
@daBee You have to specify the "prefix" path where OpenSSL is installed. It is not the directory the @endlesslight0 It's not the same issue. Apparently, Homebrew's |
@rhenium OK, just providing information that I found. The @endlesslight0 If you're using |
I'm closing this issue for now. Without the log file from OP/@arietis it's not possible to tell what caused the error (and whether it was a bug in ruby/ruby-openssl or was caused by an inconsistent system configuration). |
Here is the log. mkmf.log |
# Line 2856
-I/opt/local/include/ruby-3.1.2/arm64-darwin21
-I/opt/local/include/ruby-3.1.2/ruby/backward
-I/opt/local/include/ruby-3.1.2
-I.
-I/opt/local/libexec/openssl11/include
-isystem/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-I/opt/local/include
-I/opt/local/libexec/openssl11/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-L.
-L/opt/local/lib
-L/opt/local/libexec/openssl11/lib
-L/opt/local/lib
-L.
-L/opt/local/libexec/openssl11/lib
-L/opt/local/lib
-L/opt/local/lib
-lssl -lcrypto -lruby.3.1 -lssl -lcrypto This explains it. It finds OpenSSL header files from After digging a bit, mkmf.rb apparently prepends This should be handled in Ruby's issue tracker: https://bugs.ruby-lang.org/issues/9760 |
I'm getting such an error when performing
gem update
on thearm64
based mac.The text was updated successfully, but these errors were encountered: