/opt/nginx/sbin/nginx: error while loading shared librari
来源:互联网 发布:软件开发面试技巧 编辑:程序博客网 时间:2024/06/01 08:31
问题:
#nginx启动报错
[root@localhost ~]# /opt/nginx/sbin/nginx
/opt/nginx/sbin/nginx: error while loading shared libraries: libGeoIP.so.1: cannot open shared object file: No such file or directory
[root@localhost ~]# cd /opt/
[root@localhost opt]# wget http://geolite.maxmind.com/download/geoip/api/c/GeoIP.tar.gz
[root@localhost opt]# tar zxvf GeoIP.tar.gz
[root@localhost opt]# cd GeoIP-1.4.8/
[root@localhost GeoIP-1.4.8]# ./configure
[root@localhost GeoIP-1.4.8]# make && make install
[root@localhost GeoIP-1.4.8]# /opt/nginx/sbin/nginx -t
/opt/nginx/sbin/nginx: error while loading shared libraries: libGeoIP.so.1: cannot open shared object file: No such file or directory
[root@localhost GeoIP-1.4.8]# locate libGeoIP.so.1
/usr/local/lib/libGeoIP.so.1
/usr/local/lib/libGeoIP.so.1.4.8
[root@localhost GeoIP-1.4.8]# echo "/usr/local/lib" >> /etc/ld.so.conf
[root@localhost GeoIP-1.4.8]# ldconfig
[root@localhost GeoIP-1.4.8]# /opt/nginx/sbin/nginx -t
nginx: the configuration file /opt/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /opt/nginx/conf/nginx.conf test is successful
- /opt/nginx/sbin/nginx: error while loading shared librari
- /opt/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object
- /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1
- 启动nginx报错/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot ope
- 执行nginx报错,找不到库./sbin/nginx: error while loading shared libraries: libcrypto.so.6: cannot open share
- Nginx: error while loading shared libraries: libpcre.so.1
- nginx: error while loading shared libraries libpcre.so
- Nginx启动出错 error while loading shared libraries
- ./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: libcrypto.so.1.1: cannot open shared object file: No
- ./nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No
- 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
- Oracle SQL性能优化技巧大总结
- 深入探讨C++引用
- centos7安装mysql5.7
- 你丢失的数据迷你兔来恢复
- TCP DUP ACK
- /opt/nginx/sbin/nginx: error while loading shared librari
- Sublime Text3 设置
- CNNdroid+Caffe使用攻略
- Android 自定义圆形头像控件
- 14:铺地毯
- Remove Substrings
- MindManager喊你回家“抱团了”!
- 最大类间方差法(大津法OTSU)
- informix数据库在DbVisualizer中数据中文乱码问题