【c/c++】第一次使用-lwiredtiger时报错:can not open shared object file
2017-12-27 17:03
197 查看
编译链接报错:can not open shared object file: no such file or directory
1. sudo vim /etc/ld.so.conf
2. 因为libwiredtiger.so默认放到/usr/local/lib,所以打开后添加库路径 /usr/local/lib
3. 保存退出,执行 sudo ldconfig
4. 再次链接不报错
1. sudo vim /etc/ld.so.conf
2. 因为libwiredtiger.so默认放到/usr/local/lib,所以打开后添加库路径 /usr/local/lib
3. 保存退出,执行 sudo ldconfig
4. 再次链接不报错
相关文章推荐
- error: while loading shared libraries : countlib.so : cannnot open shared object file : No such fil
- csscan: error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No
- vi无法使用:libperl.so或者libperl.so.1: cannot open shared object file
- Microsoft Visual C++ 6.0 (SP6)中 can not open include file "winresrc.h"问题的解决方案
- 安装tensorflow,pycharm中出现libcudart.so.8.0: can't open shared object file: No such file or directory
- 卸载了curl后yum不能使用,libcurl.so.4: cannot open shared object file: No such file or directory
- ADS使用错误 could not open file debugrel \objectcode
- [RK_2014_0920]ubuntu下,使用ldconfig解决:error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or directory
- ADS使用错误 could not open file debugrel \objectcode
- lftp命令:libgnutls.so.26: cannot open shared object file: No such file or directory lftp: ftp - not supported protocol
- 使用Python读取C语言.so文件-: libmysqlclient.so.16: cannot open shared object file: No such file o
- ADS使用错误 could not open file debugrel \objectcode
- CentOS 运行 Java的图形出错: libXtst.so.6: cannot open shared object file: No such file or directory
- Ubuntu共享库问题[gtest]_error while loading shared libraries: libgtest.so.0: cannot open shared object file: No such file or director
- linux 启动apache libltdl.so.3: cannot open shared object file: No such file or directory异常
- ImportError: libghmm.so.1: cannot open shared object file: No such file or directory 解决方案
- RAC srvctl 命令报 libpthread.so.0 cannot open shared object file No such file or directory 解决方法
- Can not open file with "ios_base::in | ios_base::app"
- 共享库问题[gtest] _error while loading shared libraries: libgtest.so.0: cannot open shared object file: No such file or directory
- ./bin/logServer: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or dir