linux 64位安装nginx后启动出错报以下错误
1
2
3
|
[root @localhost nginx- 1.3 . 0 ]# /usr/local/nginx/sbin/nginx
error while loading shared libraries: libpcre.so. 1 :
cannot open shared object file: No such file or directory |
从错误看出是缺少lib文件导致,进一步查看下
1
2
3
4
5
6
7
8
9
10
|
[root @localhost nginx- 1.3 . 0 ]# ldd $(which /usr/local/nginx/sbin/nginx)
linux-vdso.so. 1 => ( 0x00007fff4d5ff000 )
libpthread.so. 0 => /lib64/libpthread.so. 0 ( 0x00007fea7e357000 )
libcrypt.so. 1 => /lib64/libcrypt.so. 1 ( 0x00007fea7e120000 )
libpcre.so. 1 => not found
libz.so. 1 => /lib64/libz.so. 1 ( 0x00007fea7df09000 )
libc.so. 6 => /lib64/libc.so. 6 ( 0x00007fea7db76000 )
/lib64/ld-linux-x86- 64 .so. 2 ( 0x00007fea7e57d000 )
libfreebl3.so => /lib64/libfreebl3.so ( 0x00007fea7d913000 )
libdl.so. 2 => /lib64/libdl.so. 2 ( 0x00007fea7d70f000 )
|
可以看出 libpcre.so.1 => not found 并没有找到,进入/lib64目录中手动链接下
1
2
|
[root @localhost /]# cd lib64/
[root @localhost lib64]# ln -s libpcre.so. 0.0 . 1 libpcre.so. 1
|
然后启动nginx就ok了
相关推荐
报错内容:sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 启动时如果报异常error while loading shared libraries: libpcre.so....
libssl.so.10缺失库文件的解决办法,error while loading shared libraries :libssl.so.10:cannot open shared object file:No such file or directory
centos6 pcre库
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [root@SnsWeb ~]# /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --log...
CentOS下nginx服务安装包,直接yum即可完成安装。Nginx (engine x) 是一个高性能的HTTP和web服务器,同时也提供了IMAP/POP3/SMTP服务。Nginx是由伊戈尔·赛索耶夫为俄罗斯访问量第二的Rambler.ru站点(俄文:Рам...
nginx-1.8.0-1.el6.ngx.x86_64.rpm libpcre.so.0()(64bit) 被 nginx-1.18.0-1.el6.ngx.x86_64 需要
本文档详细说明了安装nginx所需要的依赖包的安装流程及可能遇到的问题,如:error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory
nginx+redis+tomcat分布式负载均衡遇到问题解决文档;部署nginx、redis、tomcat时出现的一些常见问题解决方式 ex:Nginx启动错误:error while loading shared libraries: libpcre.so.1
libpcre2-8.so.0.5.0,nginx1.24.0版本在centos7离线部署时,需要该依赖
2023年5月26日,当前最新稳定版本nginx 1.24.0 已开启ipv6支持 二进制rpm包 适用于centos7 redhat 7系列的操作系统使用 适用于x86架构 主要修复安全漏洞、升级更新nginx版本,增强web服务器安全性
CentOS下nginx服务安装包,直接yum即可完成安装。Nginx (engine x) 是一个高性能的HTTP和web服务器,同时也提供了IMAP/POP3/SMTP服务。Nginx是由伊戈尔·赛索耶夫为俄罗斯访问量第二的Rambler.ru站点(俄文:Рам...
linux rpm安装nginx1.24版本依赖时会报缺少该依赖libpcre2-8.so.0.0错误,把libpcre2-8.so.0.5.0文件放到服务器的/usr/lib64下,在该目录/usr/lib64给依赖创建一个软链接: ln -s libpcre2-8.so.0.5.0 libpcre2-8.so...
很难找的 centos7 nginx-1.6.2-1.el7.centos.ngx.x86_64.rpm 包
小白式操作,使用 dockerfile 一键配置 nginx:1.12.0+php:7.2.28+mysql5.7,妈妈再也不用担心我装不来环境了
linux下的nginx--rpm安装包
nginx-1.18.0-2.el7.ngx.x86_64.rpm安装包(含有部署手册) nginx-1.18.0-2.el7.ngx.x86_64.rpm安装包(含有部署手册) nginx-1.18.0-2.el7.ngx.x86_64.rpm安装包(含有部署手册) nginx-1.18.0-2.el7.ngx.x86_64.rpm...
2023年5月26日,当前最新稳定版nginx 1.24.0 二进制rpm包 适用于arm64架构平台,centos7 redhat 7 arm架构的操作系统 已开启ipv6支持,官方默认不支持 可用于修复安全漏洞、升级更新nginx版本到1.24.0
2. 整体打包,已配置好nginx.conf的http-flv直播流,以及http web环境。无需任何配置即可使用 3. 自带windows的服务注册程序,使用如下方式,将nginx注册为windows的服务,实现无人值守维护管理 windows服务注册: 1...
nginx官网不再更新centos6版,此rpm构建于nginx最新稳定版1.24.0