虚拟化容器,大数据,DBA,中间件,监控。

Linux 安装软件提示:error while loading shared libraries的解決方法

22 10月
作者:admin|分类:系统运维
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.so所在的目录。


 一般而言,有很多so档案在/usr/local/lib个目录下,

所以在/etc/ld.so.conf中加入/usr/local/lib  这一行,可以解决此问题。


 

將 /etc/ld.so.conf存檔後,還要執行「/sbin/ldconfig –v」來更新一下才會生效。

浏览1849 评论0
返回
目录
返回
首页
Linux RUN软件包安装后,如何删除. 利用红帽Piranha方案实现WEB负载均衡