启动nginx报错:libcrypto.so: cannot open shared objec
在nginx启动时,报如下错误:
/opt/nginx/sbin/nginx: error while loading shared libraries: libcrypto.so: cannot open shared objec
解决方法:
1. 查看本机的libcrypto.so位置
locate libcrypto.so
2. 编辑vi /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf
/opt/nginx/lib/
/usr/local/lib3. 检查错误
/sbin/ldconfig
4. 启动nginx
可修改软链接到libcrypto.so
ln -s libcrypto.so.0.9.8 libcrypto.so
相关推荐
nginxs 2020-11-14
Guanjs0 2020-11-13
小木兮子 2020-11-11
yserver 2020-11-11
ssihc0 2020-11-11
windle 2020-11-10
HanksWang 2020-11-10
liuchen0 2020-11-10
Freshairx 2020-11-10
ccschan 2020-11-10
liwf 2020-11-10
Guanjs0 2020-11-09
AderStep 2020-11-09
zrtlin 2020-11-09
mqfcu 2020-11-10
windle 2020-10-29