Tengine/Nginx 启动出错 error while loading shared libraries: libpcre.so.1
来源:互联网 发布:淘宝运营规则 编辑:程序博客网 时间:2024/05/19 16:34
[root @localhost conf]# /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
从错误看出是缺少lib文件导致,进一步查看下
[root @localhost conf]# ldd $(which /usr/local/nginx/sbin/nginx)
linux-gate.so.1 => (0x0071b000)
libpthread.so.0 => /lib/libpthread.so.0 (0×00498000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0×00986000)
libpcre.so.1 => not found
libcrypto.so.6 => /lib/libcrypto.so.6 (0×00196000)
libz.so.1 => /lib/libz.so.1 (0×00610000)
libc.so.6 => /lib/libc.so.6 (0x002d7000)
/lib/ld-linux.so.2 (0x006a8000)
libdl.so.2 => /lib/libdl.so.2 (0x008c3000)
可以看出 libpcre.so.1 => not found 并没有找到,进入/lib64目录中手动链接下
[root @localhost lib64]# ln -s libpcre.so.0.0.1 libpcre.so.1
然后在启动nginx ok 了
[root @localhost lib]# /usr/local/nginx/sbin/nginx
[root @localhost lib]# ps -ef |grep nginx
root 9539 1 0 19:06 ? 00:00:00 nginx: master process /usr/local/nginx/sbin/nginx
www 9540 9539 0 19:06 ? 00:00:00 nginx: worker process
#如果libpcre.so.1不存在,则寻找兼容的版本。
0 0
- Tengine/Nginx 启动出错 error while loading shared libraries: libpcre.so.1
- Nginx启动出错 error while loading shared libraries: libpcre.so.1
- Nginx: error while loading shared libraries: libpcre.so.1
- ./nginx: error while loading shared libraries: libpcre.so.1
- Nginx: error while loading shared libraries: libpcre.so.1
- Nginx: error while loading shared libraries: libpcre.so.1解决
- Nginx: error while loading shared libraries: libpcre.so.1解决
- nginx启动报错 nginx: error while loading shared libraries: libpcre.so.1
- 启动nginx,报错:error while loading shared libraries: libpcre.so.1:
- Nginx启动错误:error while loading shared libraries: libpcre.so.1
- nginx 启动时出现 error while loading shared libraries: libpcre.so.1的错误
- Nginx启动错误:error while loading shared libraries: libpcre.so.1
- Nginx启动错误:error while loading shared libraries: libpcre.so.1
- Nginx启动报error while loading shared libraries: libpcre.so.1异常
- nginx: error while loading shared libraries libpcre.so
- /opt/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object
- 启动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
- android虚拟机详解
- 上海色彩设计招聘面试者色彩搭配技术
- C语言指针转换为intptr_t类型
- 心灵
- 总会有一个人知你冷暖,懂你悲欢
- Tengine/Nginx 启动出错 error while loading shared libraries: libpcre.so.1
- 第十六周项目二 去除第一个单词前空格
- shell脚本变量比较
- NSUserDefaults 置空某值
- Javascript获取浏览器窗口大小 获取屏幕,浏览器,网页高度宽度
- .NET中TextBox控件设置ReadOnly=true后台取不到值 三种解决方法
- Hadoop序列化
- Android小记:svn 插件下载
- apache2: Could not reliably determine the server's fully qualified domain name