nginx无法启动提示libpcre.so.1: cannot open shared object file的解决方法
2013-12-21 18:20
666 查看
nginx无法启动提示libpcre.so.1: cannot open shared object file的解决方法
作者: 酷特尔分类:
操作系统 发布时间: 2013-09-29 19:51
ė1122 views 6暂无评论
我也不知为啥,编译安装了Nginx后,今天打算再玩玩,结果发现Nginx竟然无法启动了。提示下面的错误,大概可以看得出来,缺少了libpcre这个库文件。可是,我是新手,感觉下手无处呀。最后Google了下。解决方法还是非常简单呢。用root用户执行一条命令即可搞定。
[root@bogon lib64]# /usr/local/nginx/sbin/nginx
/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file:
No such file or directory
解决方法:
[root@bogon lib64]# ln -s /usr/local/lib/libpcre.so.1 /lib64
结果如图所示:
Nginx无法启动的解决方法
相关文章推荐
- nginx无法启动提示libpcre.so.1: cannot open shared object file
- nginx无法启动: libpcre.so.1/libpcre.so.0: cannot open shared object file解决办法
- nginx无法启动: libpcre.so.1/libpcre.so.0: cannot open shared object file解决办法
- nginx无法启动: libpcre.so.1/libpcre.so.0: cannot open shared object file解决办法
- nginx无法启动: libpcre.so.1/libpcre.so.0: cannot open shared object file解决办法
- Cent Os nginx无法启动: libpcre.so.1/libpcre.so.0: cannot open shared object file解决办
- nginx无法启动: libpcre.so.1/libpcre.so.0: cannot open shared object file
- 启动nginx 报错 error while loading shared libraries: libpcre.so.1: cannot open shared object file
- 启动nginx 报错 error while loading shared libraries: libpcre.so.1: cannot open shared object file
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
- libaio.so.1: cannot open shared object file解决方法
- cannot open shared object file: No such file or directory 解决方法
- error while loading shared libraries: libevent-1.3.so.1:cannot open shared object file :No such file or directory解决方法
- 安装libmad、libjpeg库时出现:libpng15.so.15 或 libjpeg : cannot open shared object file的解决方法
- libpthread.so.0: cannot open shared object file解决方法
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
- linux 安装 VTK 提示libvtkNetCDF_cxx.so: cannot open shared object file: No such file or directory 的解决办法
- ImportError: libcudnn.so.6: cannot open shared object file 解决方法
- linux上运行程序问题,提示cannot open shared object file错误的解决办法