安装EPG时linux系统报错:error while loading shared libraries

最近安装EPG服务器(linux)时,在启动epgagent.bin进程时,系统提示如下错误: 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这个目录底下,去这个目录底下找,果然发现自己所需要的.so文件。

所以,在/etc/ld.so.conf中加入/usr/local/lib这一行,保存之后,再运行:/sbin/ldconfig �Cv更新一下配置即可。


本文出自 “孙瑞超博客” 博客,谢绝转载!

你可能感兴趣的:(linux,服务器,loading,cannot,shared)