首页 > 代码库 > error while loading shared libraries: libpcre.so.1: cannot open shared object file

error while loading shared libraries: libpcre.so.1: cannot open shared object file

 
 执行启动nginx:/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  
  查找:[root@bogon lib]# find /-type f -name *libpcre.so.*
  执行:[root@bogon lib]# ln -s /lib/libpcre.so.0.0.1  /lib/libpcre.so.1
  这样就访问了libpcre.so.1