The virtual machine operating system is centos6.0 32-bit. After nginx1.2.0 is configured,
Run/usr/local/nginx/sbin/nginx
When nginx is started, the service cannot be started and the error libpcre. so.1 not found occurs. The solution is as
After Nginx is installed, an error is reported.
[Vagrant @ localhost sbin] $ sudo./nginx
./Nginx: error while loading shared libraries: libpcre. so.1: cannot open shared object file: No such file or directory
Run the ldd command to find the Nginx
After Apache is installed, the system prompts that libpcre. so.1 cannot be found at startup:
/Usr/local/apache2/bin/httpd: ErrorWhileLoading shared libraries: libpcre. So.1: Cannot open sharedObject File: No suchFileOr directory
Use LDD to
: This article mainly introduces [error] errorwhileloadingsharedlibraries: libpcre. so.1 solution. if you are interested in the PHP Tutorial, refer to it. After nginx is installed, an error is reported during startup.
[Root @ localhost nginx-1.6
The following error occurs during varnish compilation today:Checking for library containing pthread_create...-lpthreadChecking for socket in-lsocket... noChecking for getaddrinfo in-lnsl... yesChecking for cos in-lm... yesChecking for
The header file for STD regex is already included in GCC 4.8But there is no implementation, so the link is a failureGCC 4.9 fully supports the Regex of C + + 11.Before 4.9, you can seek a boost for the regex.However, I am more familiar with the
Installing varnish./caonfigure Times WrongOnline view solution is Export pkg_config_path=/usr/local/lib/pkgconfigAfter you try to find that the pre-compilation is not still errorThen view the Pcre-devel installation package[Email protected] tmp]#
We can see that,Libpcre library file missing. However, I am a newbie and I feel that I have nowhere to start. Finally, Google goes down. The solution is very simple. You can use the root user to execute a command.Problem[Root @ bogon lib64]
PCRE configuration shared library
Problem information:
./Nginx: error while loading shared libraries: libpcre. so.1: cannot open shared object file: No such file or directory
Cause: the PCRE Library is not installed, or the PCRE Library is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.