问题: 运行gsl(GNU scientific Library)的函数库,用 gcc erf.c -I/usr/local/include -L/usr/local/lib64 -L/usr/local/lib -g -Wall --std=gnu99 -lgsl -lgslcblas -o m.o 编译,之后运行./m.o 提示error while loading shared libraries: libgsl.so.0: cannot open shared object file:…
在centos7.3上编译安装nginx-1.12.2 启动测试出错 [root@web02 local]# /usr/local/nginx/sbin/nginx -t /usr/local/nginx/sbin/nginx: error while loading shared libraries: libprofiler.so.0: cannot open shared object file: No such file or directory 从错误看出是缺少lib文件导致,进一步查看…
wdcp下安装svn后一直提示 svnadmin:error while loading shared libraries: libaprutil-1.so.0:cannot open shared object file: No such file or directory 解决办法 vi /etc/ld.so.conf 在文件的最后加入“/www/wdlinux/apache/lib”即可,然后更新下: ldconfig -v…
opensuse系统 在filezilla官网下载压缩文件解压运行后报 ./filezilla: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory 的错误,然后百度后无结果,so,进入yast搜索了一下filezilla后发现还真有,安装后就能用了…
安装rac10g,出现例如以下错误: [root@rac2 oracle]# /u01/product/crs/root.sh WARNING: directory '/u01/product' is not owned by root Checking to see if Oracle CRS stack is already configured /etc/oracle does not exist. Creating it now. Setting the permissions on O…
链接时可以通过-L和-l来指定自己的库,因此链接可以通过,但是运行时,系统仍无法找到指定的库,需要简单配置一下. 解决方法: 可以直接在将自己的库所在路径添加到/etc/ld.so.conf文件中.但一般这个文件中的内容都是一句“include /etc/ld.so.conf.d/*.conf”,因此最好在/etc/ld.so.conf.d/目录下新建一个文件 , 如“xxx.conf”,然后将自己的库所在路径添加到这个conf文件中. 修改完文件后,以root身份运行   /sbin/ldco…
1  opensuse13.1 安装chrome时 先用rpm -ivh --test **.rpm 测试安装  安装上缺少的文件 2 但是安装测试通过 却不能启动 原因 缺少一个文件 libudev.so.0 将这个安装上 sudo zypper in libudev.so.0 3 就可以启动了  …
error while loading shared libraries: libpcre.so.0的解决办法 http://blog.csdn.net/xjkwq1qq/article/details/32101137 昨晚刚买了台Linux云服务器,今天配置apache2时,因没有备份libpcre.so.0文件便执行命令"rpm -e pcre –nodeps",导致丢失libpcre.so.0文件.结果可想而知,新版的pcre再也安装不上了,apache2也无法再编译了.只要一…
今天测试的时候,启动一个其他机器预编译好的nginx到目标测试机器(OEL 7.4)启动的时候,报了下列错误: /usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file or directory 经查,OEL 7.4版本下/lib64下没有libpcre.so.0这个共享库,故创建一个到libpcre.s…
安装gm库产生问题 解决方案: # cat /etc/ld.so.confinclude ld.so.conf.d/*.conf# echo "/usr/local/lib" >> /etc/ld.so.conf# ldconfig 一般我们在Linux下执行某些外部程序的时候可能会提示找不到共享库的错误, 比如: tmux: error while loading shared libraries: libevent-1.4.so.2: cannot open share…
sh: xtrabackup_56: command not foundinnobackupex: fatal error: no 'mysqld' group in MySQL options解决办法:cp xtrabackup_56 /usr/bin xtrabackup_56: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or director…
编译 sudo gcc -o sltest01 sltest01.c -L/usr/local/lib/ -lhiredis 运行 sudo ./sltest01 编译成功后运行报错信息: ./sltest01: error while loading shared libraries: libhiredis.so.0.13: cannot open shared object file: No such file or directory libhiredis.so.0.13默认安装路径[/u…
使用g++编译.运行libuv的demo错误解决 我们通过例子来讲述监视器的使用. 例子中空转监视器回调函数被不断地重复调用,  通过例子我们也可以了解到: 由于设置了监视器, 所以调用 uv_run() 是程序会阻塞, 空转监视器将会在计数器达到设定的值时停止(监视), uv_run() 会退出因为此时程序中没有活动的监视器了. 测试代码如下 #include <stdio.h> #include <uv.h> int64_t counter = ; static void wa…
在linux下运行koala的时候遇到了问题: 应该是缺少文件libudev.so.0 在/lib和/lib64目录下也都没有这个文件.然后网上找解决方案,在/lib/x86_64-linux-gnu/目录下找到一个文件:libudev.so.1 于是做了一个软连接: sudo ln -s /lib/x86_64-linux-gnu/libudev.so. /lib/x86_64-linux-gnu/libudev.so. 搞定. 参考自: error while loading shared…
解决软件启动报error while loading shared libraries: libgd.so.2: cannot open shared object错误 今天安装启动nginx的时候报这个错误:error while loading shared libraries: libgd.so.2: cannot open shared object,网上查了相关资料,解决了,在此记录下,也让后面遇到这个问题的朋友能快速解决. 先说解决办法,帮助着急解决问题的朋友,这个是因为缺失gd库,…
1.centos6.9安装xampp(xampp-linux-x64-7.0.21-0-installer.run)后启动的时候,报错: egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directoryegrep: error while loading shared libraries: libc.so.6: cannot open…
Linux下登录mysql出错:mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: 执行命令:mysql -u root -p 错误:mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: 分析:缺少 libncurses.so.5…
zabbix3.2启动有如下报错: # service zabbix_server startStarting zabbix_server:  /home/zabbix-server/sbin/zabbix_server: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory [失败] 解决方法: 查找这个模块的位置…
执行以下代码,生成唯一的UID $fp = popen("/xxx/bin/tools/uuidgen system", "r");// $uid = fread($fp, 40960); pclose($uid); 问题:返回结果$uid为空.实际上执行popen函数后能够返回内容 resource(39) of type (stream). resource popen ( string $command , string $mode ) 参数:$command…
转载:http://www.eefocus.com/pengwr/blog/2012-02/235057_baf52.html 此时你可以locate libXXX.so.x 一下,查看系统里是否有该文件,大部分情况是该文件存在.然后把libXXX.so.3所在的目录加入到 /etc/ld.so.conf 中. 如果发现libXXX.so.x不存在,你可能没安装包含库的程序.一般google一下“XXX linux”就能找到相应的软件. 如,我执行一个fedora10 的内核编译配置时,输入ma…
问题: Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir 解决方法: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory 解决办法来源于:…
在Ubuntu14.04 64位系统中已经安装了libc6:i386的库,编译Uboot时提示error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory. 出错原因是:缺少lib32z1库 解决方法:sudo apt-get install lib32z1…
环境:ubuntu18 登陆MYSQL时遇到错误:mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory 解决,查看MYSQL的依赖 $ ldd mysqllibtinfo.so.5 => not found12查看依赖是否存在 $ ls /lib/x86_64-linux-gnu/libtinfo.so.*1如果不存…
1:Atlas的安装 https://github.com/Qihoo360/Atlas/wiki/Atlas的安装 2: [root@localhost bin]# ./mysql-proxyd test start /usr/local/mysql-proxy/bin/mysql-proxy: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file o…
mkubimage-mlc2: error while loading shared libraries: liblzo2.so.2: cannot open shared object file: No such file or directory 解决方法: #这个是缺lib库 sudo apt-get install liblzo2-dev:i386  #注意一定要带:i386,否则可能报 cannot find-llzo2…
启动zabbix_server时报错: /application/zabbix/sbin/zabbix_server: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory 解决办法: [root@test88 etc]# ln -s /application/mysql/lib/libmysqlclient.so.…
启动nginx报错:error while loading shared libraries:libpcre.so.1:cannot open shared object file:No such file or directory 先查找到文件:find / -name “libpcre.so.1” 找到该目录后,把路径放到 /etc/ld.so.conf 这样路径就被包含到库文件的路径当中了 然后执行:ldconfig让修改生效. 操作:echo “/usr/local/lib” >> /…
编译出现如下错误: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory 解决方法: yum install -y libaio libaio-devel…
启动MongoDB时,提示: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [root@SnsWeb ~]# /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath /usr/local/mongodb/logs/mongodb.l…
使用protobuf出错:protoc: error while loading shared libraries: libprotoc.so.9: cannot open shared object file:No such... 解决方法:linux 敲击命令:export LD_LIBRARY_PATH=/usr/local/lib…