centos7 nginx启动报错:error while loading shared libraries: libpcre.so.3

711 阅读1分钟

1.安装PCRE库:
wget ftp.pcre.org/pub/pcre/pc…
2.解压:

tar -zxvf  pcre-8.00.tar.gz

3.进入解压目录

cd pcre-8.00

4.执行命令
./configure --enable-utf8

5.执行命令
make

6.执行命令
make check

7.执行命令
make install

8.执行命令启动nginx