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

时间: 2024-09-20 11:18:19

error while loading shared libraries: libpcre.so.1: cannot open shared object file的相关文章

解决error while loading shared libraries: libpcre.so.1的错误

解决 error while loading shared libraries: libpcre.so.1的错误 /usr/local/webserver/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 解决方法: 32位系统 [root@sever lib]# ln -s /usr/loc

svnserve:error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory

使用yum安装svn 开启svnserver是遇到如下问题: svnserve:error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory 缺少了apache的apr-util的支持. 于是再安装一下yum install -y apr-util就好了.

nginx无法启动提示libpcre.so.1: cannot open shared object file

大概可以看得出来,缺少了libpcre这个库文件.可是,我是新手,感觉下手无处呀.最后Google了下.解决方法还是非常简单呢.用root用户执行一条命令即可搞定. 问题 [root@bogon lib64]# /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No

Linux下error while loading shared libraries错误的解決方法

在linux下运行程序时,发现了error while loading shared libraries这种错误,一时间不知道解决办法,在网上搜索,终于解决了: ./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory 出现这类错误表示,系统不知道xxx.so放在哪个目录下,这时候就要在/etc/ld.so.conf中加入xxx

解决:/home/catia/android-sdks/platform-tools/aapt: error while loading shared libraries: libz.so.1: c

/home/catia/android-sdks/platform-tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 解决办法来源于: http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk 输入sudo apt-g

解决error while loading shared libraries: libmysqlclient.so.18的错误

风信网(ithov.com) 原创文章,测试环境php-fpm在安装后之后,启动的时候发现报错信息error while loading shared libraries: libmysqlclient.so.18,原来少了libmysqlclient.so.18这个共享文件,我们来检查一下 &http://www.aliyun.com/zixun/aggregation/37954.html">nbsp; [root@localhost php]# sbin/php-fpm st

error while loading shared libraries: xxx.so.x" 错误的原因和解决办法

今天在执行一个protobuf程序时,提示error while loading shared libraries: libprotobuf.so.8: cannot open shared object file: No such file or directory错误.google了一下,是由于找不到lib这个文件. 解决办法: 一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如:   tmux: error while loading shared libra

linux使用wkhtmltopdf报错error while loading shared libraries:

官网提示 linux需要这些动态库.depends on: zlib, fontconfig, freetype, X11 libs (libX11, libXext, libXrender) 在linux上执行 ./wkhtmltopdf –page-size A4 www.baidu.com pdf.pdf 报错   error while loading shared libraries: libXrender.so.1 root@mag-sit:/home/mag-sit/wkhtmlt

安装ImageMagick出现error while loading shared libraries的解决方法_php技巧

本文实例讲述了安装安装ImageMagick出现error while loading shared libraries的解决方法.分享给大家供大家参考.具体解决方法如下: 运行程序时,如遇到像下列这种错误: ./tests: error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or directory 那就表示系统不知道xxx.so 放在哪个目录下. 这个时候就要