执行启动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
查找:[[email protected] lib]# find /-type f -name *libpcre.so.*
执行:[[email protected] lib]# ln -s /lib/libpcre.so.0.0.1 /lib/libpcre.so.1
这样就访问了libpcre.so.1
error while loading shared libraries: libpcre.so.1: cannot open shared object file
时间: 2024-10-23 00:46:04