When I call uwsgi
, it always shows the following:
dyld: Library not loaded: libssl.1.0.0.dylib
Referenced from: /Users/xingshi/anaconda/bin/uwsgi
Reason: image not found
Trace/BPT trap: 5
Here is all the libssl.1.0.0.dylib on my Mac:
$ locate libssl.1.0.0.dylib
/Library/PostgreSQL/9.2/lib/libssl.1.0.0.dylib
/Library/PostgreSQL/9.2/pgAdmin3.app/Contents/Frameworks/libssl.1.0.0.dylib
/Users/xingshi/anaconda/lib/libssl.1.0.0.dylib
/Users/xingshi/anaconda/pkgs/openssl-1.0.1c-0/lib/libssl.1.0.0.dylib
/opt/local/lib/libssl.1.0.0.dylib
And my uwsgi
is in anaconda
$which uwsgi
/Users/xingshi/anaconda/bin/uwsgi
Any ideas ?
I performed this:
I have been having this error for a long time and performing
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/
I hope this helps!
MacPorts usually install softwares into
/opt/local/
, but brew will install softwares into/usr/local/
. It seems that myuwsgi
is looking for thelibssl.1.0.0.dylib
in /usr/local/lib, so I use brew to install openssl and relink it: