在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文件导致,进一步查看…
官网提示 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/wkhtmltox…
数据库10g才会有这个错,因为11g的grid和oracle是分开的. [oracle@news01 orcl]$ srvctl /u01/app/oracle/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory [oracle@news01 orcl]$ which srvct…
运行编译后的程序报错  error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory -------------------------------------------------------------------------------------------------------------------------------------…
使用arm-none-eabi-gdb报错error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory 查找资料发现原因是:需要32位的库 解决办法:sudo apt-get install lib32ncurses5…
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…
问题: 运行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:…
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…
启动uwsgi时候报错: [root@ richie]# /usr/bin/uwsgi --ini /usr/local/nginx/conf/uwsgi.ini /usr/bin/uwsgi: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 解决办法:64位系统 [root@ richie]# ln -s /usr/loca…
我是从其他服务器scp来的memcached(~~~整个文件夹的那种,windows用多了的后遗症) 在准备运行 ./memcached -d -u root -l localhost -m 800 -p 11211  启动memcached的时候, boom~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No…
在刚开始导入tpcc数据仓库时,可能会遇到 error while loading shared libraries: libmysqlclient.so.20这个错误,找不到库文件. 但是,通过find 能查找到这个文件 [root@mysqlserver src]# /usr/local/mysql/lib/libmysqlclient.so. /usr/local/src/mysql-/libmysql/libmysqlclient.so. 所以,这个文件时存在的,只是查找这个库文件的时候…
samtools用conda安装后,总是出现共享库缺失的报错.即便你刚安装samtools时可以用,但后面在同一环境中安装其他相关软件,有可能产生了冲突,导致库替换,因而报错. 避免这种情况,可能最好是给samtools单独一个环境.但我不喜欢这样,我的习惯是一般做一件事才建一个环境,不然环境太多了,我自己都忘了. 网上很多回答分析原因说:samtools的版本已经在1.9以上了,但是conda安装的samtools版本依然是1.7.所以建议强制安装1.9版本:conda install -c…
想检查一个配置文件是否正确,-c 指定之后发现有报错,如下: [root@op-2:~# nginx -t -c /etc/nginx/conf.d/default.conf nginx: [emerg] "server" directive is not allowed here in /etc/nginx/conf.d/default.conf:1 nginx: configuration file /etc/nginx/conf.d/default.conf test faile…
通常有两种情况: 1.在模板的html标签上使用length报错 vue 中使用 length判断的时候,有时会报错,如下: <div class="item_list" v-if="form.checkVal.length > 0" >列表1</div><div class="item_list" v-else >列表2</div>解决方法: 改成:  form.checkVal !== u…
我遇到的这个错是因为缺少依赖:libaio 直接yum -y install libaio 然后重新安装就OK了…
http://www.openssl.org/source/  这里下载http://www.openssl.org/source/openssl-1.0.0r.tar.gz 安装命令为:tar -zxvf opensslopenssl-1.0.0r.tar.gzcd openssl-1.0.0r./configmake install 做链接for 32bit  ln-sf /usr/lib/libssl.so.10 /usr/lib/libssl.so.6 ln-sf /usr/lib/li…
1  opensuse13.1 安装chrome时 先用rpm -ivh --test **.rpm 测试安装  安装上缺少的文件 2 但是安装测试通过 却不能启动 原因 缺少一个文件 libudev.so.0 将这个安装上 sudo zypper in libudev.so.0 3 就可以启动了  …
链接时可以通过-L和-l来指定自己的库,因此链接可以通过,但是运行时,系统仍无法找到指定的库,需要简单配置一下. 解决方法: 可以直接在将自己的库所在路径添加到/etc/ld.so.conf文件中.但一般这个文件中的内容都是一句“include /etc/ld.so.conf.d/*.conf”,因此最好在/etc/ld.so.conf.d/目录下新建一个文件 , 如“xxx.conf”,然后将自己的库所在路径添加到这个conf文件中. 修改完文件后,以root身份运行   /sbin/ldco…
修改 #https不需要验证,否则要加上以下配置# 意思就是非安全仓库,加上重启就OK了! vim /lib/systemd/system/docker.service --insecure-registry 10.0.0.110 systemctl daemon-reload && systemctl restart docker 验证…
今天测试的时候,启动一个其他机器预编译好的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…
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也无法再编译了.只要一…
使用g++编译.运行libuv的demo错误解决 我们通过例子来讲述监视器的使用. 例子中空转监视器回调函数被不断地重复调用,  通过例子我们也可以了解到: 由于设置了监视器, 所以调用 uv_run() 是程序会阻塞, 空转监视器将会在计数器达到设定的值时停止(监视), uv_run() 会退出因为此时程序中没有活动的监视器了. 测试代码如下 #include <stdio.h> #include <uv.h> int64_t counter = ; static void wa…
启动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: 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…
编译 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…
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 [失败] 解决方法: 查找这个模块的位置…
一.错误描述 1.问题 java.io.IOException: error=2, 没有那个文件或目录 今天在刚重新搭建好的64位的Center OS上安装好了Android SDK,Jenkins,Git等一系列用于持续集成的环境之后,准备编译下项目试一试,然后Jenkins编译失败,错误如下所示: Caused by: java.io.IOException: Cannot run program "/usr/local/share/adt-bundle-linux-x86_64-20140…