linux启动程序的时候报错error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

查找 libpcre.so.1

find /usr/ -name libpcre.so.1

添加软连接

 ln -s /usr/local/lib/libpcre.so.1 /lib64/libpcre.so.1

重新启动程序不在报错

发表评论

后才能评论