error while loading shared libraries 錯誤解決辦法總結
如果提示是error while loading shared libraries: libXXX.so,但你的系統上有libXXX.so.5,你可以為libXXX.so.5
做一個軟連結 ln -s libXXX.so.5 libXXX.so
如果報錯
[root@starEPG bin]# ./epgagent.bin
./epgagent.bin: error while loading shared libraries: liblog4cpp.so.5: cannot open shared object file: No such file or directory
可以
[root@starEPG bin]# find / -name liblog4cpp*
/usr/lib64/liblog4cpp.so.4.0.6
/usr/lib64/liblog4cpp.so.4
[root@starEPG lib64]# ln -s liblog4cpp.so.4 liblog4cpp.so.5
[root@starEPG lib64]# pwd
/usr/lib64
做一個軟連結 ln -s libXXX.so.5 libXXX.so
如果報錯
[root@starEPG bin]# ./epgagent.bin
./epgagent.bin: error while loading shared libraries: liblog4cpp.so.5: cannot open shared object file: No such file or directory
可以
[root@starEPG bin]# find / -name liblog4cpp*
/usr/lib64/liblog4cpp.so.4.0.6
/usr/lib64/liblog4cpp.so.4
[root@starEPG lib64]# ln -s liblog4cpp.so.4 liblog4cpp.so.5
[root@starEPG lib64]# pwd
/usr/lib64
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26845409/viewspace-1983271/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 錯誤"error while loading shared libraries: xxx.so.x" 的原因和解決辦法ErrorWhile
- error while loading shared libraries: xxx.so.x"錯誤的原因和解決辦法ErrorWhile
- "error while loading shared libraries: xxx.so.x" 錯誤的原因和解決辦法ErrorWhile
- 錯誤 error while loading shared libraries: libclntsh.so.9.0 的解決ErrorWhile
- 解決"error while loading shared libraries: libclntshErrorWhile
- error while loading shared librariesErrorWhile
- Mysql的error while loading shared libraries解決方法MySqlErrorWhile
- 使用SRVCTL時報錯:error while loading shared librariesErrorWhile
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- ./ggsci: error while loading shared librariesErrorWhile
- sqlplus: error while loading shared libraries的解決方案SQLErrorWhile
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- sqlplus: error while loading shared librariesSQLErrorWhile
- [mysql]error while loading shared libraries: libaio.so.1: 解決方案MySqlErrorWhileAI
- 【故障處理】csscan工具無法使用,報錯“error while loading shared libraries...”CSSErrorWhile
- error while loading shared libraries: libaio.so.1ErrorWhileAI
- Error while loading shared libraries: libssl.so.6:ErrorWhile
- mongod: error while loading shared libraries: libstdc++.so.6GoErrorWhileC++
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- innobackupex: error while loading shared libraries: libssl.so.6ErrorWhile
- glodengate配置時報ggsci: error while loading shared librariesErrorWhile
- ORACLE SQLPLUS 報 error while loading shared libraries[轉]OracleSQLErrorWhile
- error while loading shared libraries: libcap.so.1: cannot open sharedErrorWhile
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- error while loading shared libraries: libstdc++.so.5: cannot openErrorWhileC++
- csscan: error while loading shared libraries: libclntsh.so.10.1CSSErrorWhile
- sqlldr執行報錯:error while loading shared libraries: libclntsh.so.10.1:SQLErrorWhile
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- sqlplus: error while loading shared libraries: libaio.so.1:SQLErrorWhileAI
- MySQL 5.7初始化報錯error while loading shared libraries: libnuma.so.1MySqlErrorWhile
- sqlplus: error while loading shared libraries: libsqlplus.soSQLErrorWhile
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- 執行csscan出現loading shared libraries錯誤CSS
- root.sh / vipca: error while loading shared libraries: libpth read.so.PCAErrorWhile