uWSGI无法加载libssl.1.0.0.dylib [英] uWSGI can not load libssl.1.0.0.dylib
本文介绍了uWSGI无法加载libssl.1.0.0.dylib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我呼叫uwsgi
时,它始终显示以下内容:
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
这是Mac上的所有libssl.1.0.0.dylib:
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
我的uwsgi
在anaconda
$which uwsgi
/Users/xingshi/anaconda/bin/uwsgi
有什么想法吗?
推荐答案
MacPorts通常将软件安装到/opt/local/
中,但是brew将软件安装到/usr/local/
中.看来我的uwsgi
在/usr/local/lib中寻找libssl.1.0.0.dylib
,因此我使用brew安装openssl并重新链接它:
MacPorts usually install softwares into /opt/local/
, but brew will install softwares into /usr/local/
. It seems that my uwsgi
is looking for the libssl.1.0.0.dylib
in /usr/local/lib, so I use brew to install openssl and relink it:
brew install --upgrade openssl
brew unlink openssl && brew link openssl --force
这篇关于uWSGI无法加载libssl.1.0.0.dylib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文