uWSGI can not load libssl.1.0.0.dylib

后端 未结 3 785
耶瑟儿~
耶瑟儿~ 2020-12-05 08:14

When I call uwsgi, it always shows the following:

dyld: Library not loaded: libssl.1.0.0.dylib
  Referenced from: /Users/xingshi/anaconda/bin/uw         


        
3条回答
  •  佛祖请我去吃肉
    2020-12-05 08:56

    I performed this:

    I have been having this error for a long time and performing

    brew uninstall openssl
    brew install openssl
    

    did not work for me even including "--force"

    However, I found this link to this blog and it did work for me.

    http://mithun.co/hacks/library-not-loaded-libcrypto-1-0-0-dylib-issue-in-mac/

    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
    

    I hope this helps!

提交回复
热议问题