本人用的是CentOS6.4 64bit 系统

查看pcre安装日志, 可以看到默认安装到 /usr/local/lib 下面

启动nginx: error while loading shared libraries: libpcre.so.1

nginx 默认读取/usr/lib64下的文件

ln -s /usr/local/lib/libpcre.so.1.2.7  /usr/lib64/libpcre.so.1

重新启动nginx

enjoy

相关文章:

  • 2021-09-09
  • 2021-10-04
  • 2022-12-23
  • 2021-06-24
  • 2021-07-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2021-07-13
  • 2021-09-24
  • 2022-12-23
相关资源
相似解决方案