Resolving missing link to libcrypto openssl on OSX from: http://stackoverflow.com/questions/38670295/brew-refusing-to-link-openssl
brew update
brew install openssl
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/
brew install openssl
installs the newest 1.1 version of openSSL.Therefore the linking commands with libcrypto version 1.0.0 proposed above would not work.
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
should beln -s /usr/local/opt/openssl/lib/libcrypto.1.1.dylib /usr/local/lib/
. However, this did not work for my use case either.What did work was downgrading to openSSL 1.0 using @igormelao's code from this issue: