- install openssl from brew
$ brew install openssl
- copy libssl.1.0.0.dylib and libcrypto.1.0.0.dylib from /usr/local/Cellar/openssl/1.0.2n to /usr/lib/
$ cd /usr/local/Cellar/openssl/1.0.2n/lib
$ sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/lib/
- in /usr/lib directory, make a softlink libssl.dylib and libcrypto.dylib. You may have to remove the existing links.
$ sudo rm libssl.dylib libcrypto.dylib
$ sudo ln -s libssl.1.0.0.dylib libssl.dylib
$ sudo ln -s libcrypto.1.0.0.dylib libcrypto.dylib