红旗Linux SP3 安装软件提示:error while loading shared libraries |
| 发表者:分类:Devops2014-07-18 16:59:31 阅读[2429] |
红旗Linux SP3 安装软件提示:error while loading shared libraries的解決方法
: 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.so所在的目录。
有很多so档案在/usr/local/lib 这个目录下,
所以在/etc/ld.so.conf中加入
/usr/local/lib
可以解决此问题。
將 /etc/ld.so.conf 保存后,
需要执行下面命令后,才会生效。
#/sbin/ldconfig –v
: 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.so所在的目录。
有很多so档案在/usr/local/lib 这个目录下,
所以在/etc/ld.so.conf中加入
/usr/local/lib
可以解决此问题。
將 /etc/ld.so.conf 保存后,
需要执行下面命令后,才会生效。
#/sbin/ldconfig –v
转载请标明出处【红旗Linux SP3 安装软件提示:error while loading shared libraries】。
《www.micoder.cc》
虚拟化云计算,系统运维,安全技术服务.
| Tags: | [阅读全文...] |
最新评论