error while loading shared libraries: libboost_system.so.1.45.0: cannot open shared object file: No
2016-10-02 13:55
1251 查看
http://stackoverflow.com/questions/4581305/error-while-loading-shared-libraries-libboost-system-so-1-45-0-cannot-open-sha
The library cannot be found.
Libraries are by default looked for in
Usually system libraries (like boost, if you installed it via your package manager) are located in
Where are your boost libraries located on your system? Did you compile them by yourself? In this case you should tell the dynamic linker to look for your libraries in the directory they're located by using the
I'd suggest you to install boost libraries using your package manager, anyway, this will make your life a lot simpler.
The library cannot be found.
Libraries are by default looked for in
/lib,
/usr/liband the directories specified by
/etc/ld.so.conf.
Usually system libraries (like boost, if you installed it via your package manager) are located in
/usr/lib, but it's probably not your case.
Where are your boost libraries located on your system? Did you compile them by yourself? In this case you should tell the dynamic linker to look for your libraries in the directory they're located by using the
LD_LIBRARY_PATHenvironment variable:
LD_LIBRARY_PATH="your/boost/directory" ./testfgci
I'd suggest you to install boost libraries using your package manager, anyway, this will make your life a lot simpler.
相关文章推荐
- error while loading shared libraries: libboost_thread.so.1.49.0: cannot open shared object file: No
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such file or directory
- error while loading shared libraries: libevent-1.3e.so.1: cannot open shared object file: No such fi
- mkubimage-mlc2: error while loading shared libraries: liblzo2.so.2: cannot open shared object file: No such file or directory
- 错误解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
- error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
- error while loading shared libraries: libiw.so.29: cannot open shared object file: No such file
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such fi
- error while loading shared libraries: libevent-1.3.so.1:cannot open shared object file :No such file or directory解决方法
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory
- 报错 mysql: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
- sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
- 共享库问题[gtest] _error while loading shared libraries: libgtest.so.0: cannot open shared object file: No such file or directory
- 关于 error while loading shared libraries: libXXX.so.1.2.3: cannot open shared object file: No such file or directory
- 解决Linux: error while loading shared libraries: ...: cannot open shared object file: No such file or directory 类似问题
- error while loading shared libraries: libpcap.so.1: cannot open shared object file: No such file or
- error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file.....
- error while loading shared libraries: libXXX.so.x: cannot open shared object file: No such file
- error while loading shared libraries: libperl.so: cannot open shared object file: No such file or di