Home > Article > Backend Development > [error]error while loading shared libraries: libpcre.so.1 解决
[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.