-
Notifications
You must be signed in to change notification settings - Fork 784
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
conflicts Homebrew's OpenSSL and local LibreSSL #1277
Comments
You can try something like
However, the |
I tried If /usr/local/include/openssl is not exist, then $ cd /usr/local/include
$ sudo mv openssl _openssl
$ rbenv install 2.6.0
$ gem install bundle
Fetching bundle-0.0.1.gem
Successfully installed bundle-0.0.1
Parsing documentation for bundle-0.0.1
Installing ri documentation for bundle-0.0.1
Done installing documentation for bundle after 0 seconds
1 gem installed |
Use or google |
On my mac, Homebrew is installed at /opt/homebrew because /usr/local is used for other programs. And also, LibreSSL is installed at /usr/local.
In case of above,
gem
of Ruby that built withrbenv
crashes:SSL_CTX_set_min_proto_version
is declared in LibreSSL's /usr/local/include/openssl/ssl.h, but Homebrew's OpenSSL don't have.I tried to build ruby without
ruby-build
:Then,
gem
don't crash.How to do give priority to /opt/homebrew/opt/openssl/include ?
The text was updated successfully, but these errors were encountered: