µ
mithun madhusoodananakamantleCurve@mithun.co:~$
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
---
title:    "Library not loaded: libcrypto.1.0.0.dylib issue in mac"
date:     2014-03-30T20:50:54
author:   Mithun
category: hacks
tags:     [python, cryptography, libcrypto-error, library-not-loaded]
reading:  ~1 min
---

# 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 Edit (2019 July) If you are getting permission denied error even after sudo. Try copying to `/usr/local/lib ` instead. Thanks to George Hotz from comments to pointing it out. 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 :-)
## comments (23)
  1. Darkhan· 2014-07-29

    Thank you very much. This one was the best solution I found

  2. Mithun· 2014-08-03

    :)

  3. Samar Panda· 2014-09-13

    This is a fantastic solution. Thank you so much.

  4. Mithun· 2014-09-30

    :)

  5. Beth Giobbe· 2014-10-20

    Thank you!
    Now I'm getting a "Symbol not found: _SSLv2_client_method" "Expected in: /usr/lib/libssl.1.0.0.dylib"
    Found a StackOverflow issue about it here: https://stackoverflow.com/questions/25492787/ruby-bundle-symbol-not-found-sslv2-client-method-loaderror
    My system is a bit out-of-sync due to a major hard disk crash.

  6. Balt· 2014-11-26

    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 ;)

  7. Mihai· 2014-12-08

    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

  8. vincentgong7· 2015-04-19

    Thanks very much!
    May I know the purpose of step2:
    Copy copy libssl.1.0.0.dylib and libcrypto.1.0.0.dylib

    Thanks.

  9. Kamaal Aboothalib· 2015-07-14

    Thanks, i just done till step 2 my homestead start working.

  10. Cris· 2015-07-14

    Thank you very much, you helped me a lot!

  11. » Python:psycopg2 installation error - Library not loaded: libssl.dylib· 2015-09-22

    […] Steps explained pretty nicely at this link mithun.co/hacks/… […]

  12. Cody· 2015-10-01

    Worked great, thank you!

  13. Pablo Fabregat· 2015-12-07

    Yes!, that did the trick for me as well, thanks!

  14. chukovskij· 2016-05-06

    thanks, it works, but I had to add write access rights to some folders

  15. Joel· 2016-08-27

    Worked perfectly. Thank you!

  16. Kis· 2016-09-16

    So good,Thanks!

  17. Agnes· 2016-09-29

    Thank you so much! It worked for me too. You saved my day!

  18. khkim· 2016-12-07

    Thank you so much!

  19. Sarang Manjrekar· 2017-12-21

    Did a brew unlink openssl to get the path and version and then followed the tutorial.
    Awesome !

  20. SMITH SHAH· 2019-02-08

    For sudo cp libssl.1.0.0.dylib libcrypto.1.0.0.dylib /usr/lib/ it says operation not permitted

  21. George Hotz· 2019-06-20

    copy in /usr/local/lib instead.

  22. Keith Norman· 2019-12-18

    Woohoo! Worked for me, thank you!

  23. Vishal· 2020-04-16

    thanks @Mithun.. The steps are so clear and it worked.
    You are awesome :)

NORMAL~/hacks/library-not-loaded-libcrypto-1-0-0-dylib-issue-in-mac/● main
utf-8LFmd● rec2026-05-17 19:25