如果缺少报这个错uwsgi: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
可以看这个文章:https://blog.csdn.net/qq_26105397/article/details/79928222
可以参考这个centos安装uwsgi https://blog.csdn.net/lap2004/article/details/82352308
背景
- 想使用 ningx + uwsgi + django 搭建 python 应用环境(Centos7.0)
- Python使用的是anaconda3(pyhton 3.6)
- 依赖包安装完毕,但是执行 uwsgi 的时候出现如下异常
[root@localhost ~]# uwsgi
uwsgi: error while loading shared libraries: libicui18n.so.58: cannot open shared object file: No such file or directory
于是乎查看 uwsgi所在地址,然后使用 LDD 查看缺少的包
[root@localhost ~]# which uwsgi /root/anaconda3/envs/py3/bin/uwsgi
(py3) [root@localhost ~]