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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-08 09:32:50
Original
2942 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:
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
Latest Issues
Error restarting nginx
From 1970-01-01 08:00:00
0
0
0
server - Nginx configuration webapp problem
From 1970-01-01 08:00:00
0
0
0
Nginx default.conf problem
From 1970-01-01 08:00:00
0
0
0
centos7 - NGINX exception occurs
From 1970-01-01 08:00:00
0
0
0
nginx load balancing
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template