./nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such
error while loading shared libraries: libpcre.so.1:
前提是已经安装好了pcre!
[root@server2 ~]# find / -type f -name *libpcre.so.* #查看libpcre.so文件位置
/mnt/pcre-8.43/.libs/libpcre.so.1.2.11
/usr/local/lib/libpcre.so.1.2.11
/lib64/libpcre.so.0.0.1
[root@server2 ~]# ln -s /lib64/libpcre.so.0.0.1 /lib64/libpcre.so.1 #建立软链接
#完成,问题应该解决了!