Home  >  Article  >  Backend Development  >  [error]error while loading shared libraries: libpcre.so.1 解决

[error]error while loading shared libraries: libpcre.so.1 解决

WBOY
WBOYOriginal
2016-08-08 09:32:502866browse
After nginx is installed, an error occurs when starting it


[root@localhost nginx-1.6.2]# /usr/local/nginx/sbin/nginx

/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory


The reason may be related to the version of PCRE, and there is a solution.

My system is centos6 system


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

refer to

Solutions for other situations



The above has introduced the solution to [error]error while loading shared libraries: libpcre.so.1, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn