Open rwdaigle opened 6 years ago
Maybe brew unlink openssl && brew link openssl --force
? Inspired by https://stackoverflow.com/questions/32960032/nginx-cannot-find-openssl-development-headers and https://superuser.com/questions/1089390/how-to-install-libssl-dev-libffi-dev-on-mac-os .
Does evp.h
exist somewhere in your filesystem?
If you succeed installing the gem, note that using a potentially "old" OpenSSL/LibreSSL might mean trouble; see https://github.com/clearhaus/aes256gcm_decrypt/issues/11#issuecomment-386010395 .
@rwdaigle Any news?
I encountered this problem. No amount of installing and uninstalling with brew would work. This did however:
cd /usr/local/include
ln -s ../opt/openssl/include/openssl .
One small note to add. For my configuration /usr/local/opt/openssl
had a version tag in the symlink / directory name so it was /usr/local/opt/openssl@1.1
instead. To see if this is the case for you, run ls -la /usr/local/opt/openssl*
and check the path. If there's nothing there, then openssl
probably hasn't been installed yet.
In my case, I had to do the following:
cd /usr/local/include
ln -s ../opt/openssl\@1.1/include/openssl .
I tried installing this gem and hit the following error:
This is probably a local openssl version issue. I'm on Mac OSX 10.13.4 (High Sierra) and my version is listed as:
I have confirmed I have the latest openssl headers via
brew reinstall openssl
. Thoughts?