linux中装载动态库出错的解决办法

来源:互联网 发布:西班牙语翻译软件知乎 编辑:程序博客网 时间:2024/04/26 12:21
运行安装程序时经常看到如下错误:

error while loading shared libraries:...

error while loading shared libraries: libiustl.so.1: cannot open shared object file: No such file or directory


How to do :

     if libiustl.so.1 is located in /usr/local/lib,add /usr/local/lib to /etc/ld.so.conf and run sudo ldconfig, then it will be ok.