Library not loaded: libcrypto.1.0.0.dylib issue in mac

You might have come across this error while dealing with the openssl module.

Inorder to solve this issue follow the following steps

Step 1: Install openssl using brew

brew install openssl

Step 2: Copy copy libssl.1.0.0.dylib and libcrypto.1.0.0.dylib

cd /usr/local/Cellar/openssl/1.0.1f/lib

sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/lib/

Note the bold folder name. There will be change in that depending on your openssl version

Step 3: 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

That’s it. Now try installing what you have been trying to install.

I hope this helps. If you need any further clarification, do comment.

Enjoy smile

19 thoughts on “Library not loaded: libcrypto.1.0.0.dylib issue in mac”

  1. Thank you very much!
    Even if I didn’t have a clue about what I was really doing, everything went fine and I can now enjoy quitrent!
    Thanks for this short and effective tutorial ;)

  2. in my case,
    i was already having homebrew and openssl

    just needed to unlink and link:

    brew unlink openssl
    brew link openssl –force

    did the trick

Let's discuss now...

This site uses Akismet to reduce spam. Learn how your comment data is processed.