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

WBOY
Release: 2016-08-08 09:32:50
Original
2869 people have browsed it
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
Copy after login

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template