Nginx: errorwhileloadingsharedlibraries: libpcre. so.1 solve Shell code [ew69 @ localhostconf] #/usr/local/nginx/sbin/nginx: errorwhileloadingsharedl Nginx: error while loading shared libraries: libpcre. so.1 solve the Shell code [ew69 @ localhost conf] #/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre. so.1: cannot open shared object file: No such File or directory confirm that PCRE has been installed: Shell Code [ew69 @ SCLABHADOOP01 lib] $ cd/lib [ew69 @ SCLABHADOOP01 lib] $ ls * pcre * libpcre. so.0 libpcre. so.0.0.1 [hadoop @ SCLABCLUS01 nginx] $ find/-type f-name * libpcre. so. * Add a soft link: Shell Code [ew69 @ SCLABHADOOP01 lib] $ ln-s/lib/libpcre. so.0.0.1/lib/libpcre. so.1 previously, this problem can be solved in general linux. note: in some operating systems, after pcre is installed, the installation location is/usr/local/lib/* pcre * on the redhat 64-bit machine. on the redhat 64-bit machine, nginx can The readable pcre file is the/lib64/libpcre. so.1 file. Therefore, use the following soft connection: Shell Code [hadoop @ SCLABHADOOP01 ~] $ Ln-s/usr/local/lib/libpcre. so.1/lib64/
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.