error while loading shared libraries: libhiredis.so.0.14: cannot open shared object file: No such fi

Posted 小乌龟的笔记本

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了error while loading shared libraries: libhiredis.so.0.14: cannot open shared object file: No such fi相关的知识,希望对你有一定的参考价值。

hiredis 的应用程序出错。

 

./example-libevent: error while loading shared libraries: libhiredis.so.0.14: cannot open shared object file: No such file or directory

 

出现这个问题,需要检查  ~/.bash_profile  ,看看 LD_LIBRARY_PATH 是否存在,或者是否被注释了(我出现报错就是自己不小心注释了)。

例如,我的是这样的:

LD_LIBRARY_PATH=/usr/local/lib64:/opt/mongo-cxx-driver/lib64/:/usr/local/lib

 

以上是关于error while loading shared libraries: libhiredis.so.0.14: cannot open shared object file: No such fi的主要内容,如果未能解决你的问题,请参考以下文章

error while loading shared libraries错误解决

error while loading shared libraries错误解决

error while loading shared libraries: libmcrypt.so.4

error while loading shared libraries: libaio.so.1

linux下报错:error while loading shared libraries

error while loading shared libraries的解決方法