error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

今天帮朋友配置ubuntu,安装配置完成后,启动nginx时,出现错误:error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory

解决经查询原来很简单:

执行一下:ln -s /usr/local/lib/libpcre.so.0 /usr/lib/libpcre.so.0

哈哈

发表评论

你必须 登录 才能发表评论.