Error while loading shared libraries: libssl.so.6:
Error while loading shared libraries: libssl.so.6: cannot open shared object file:
問題:
啟動nagios客戶端程式報錯!!
Error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
或者
Error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
都是一樣的錯誤!!
錯誤分析:
主要是找不到
libssl.so.6
libcrypto.so.6
這兩個檔案!!!!
解決辦法:
1 檢視openssl是否安裝
[root@test lib64]# rpm -qa | grep openssl
openssl-1.0.0-27.el6.x86_64
openssl-devel-1.0.0-27.el6.x86_64
(測試機已安裝)
(未安裝的可以使用yum安裝)
2 去到/usr/lib64目錄下
[root@test lib64]# cd /usr/lib64
.......
lrwxrwxrwx. 1 root root 15 Nov 24 14:41 libssl.so -> libssl.so.1.0.0
lrwxrwxrwx. 1 root root 15 Nov 5 14:30 libssl.so.10 -> libssl.so.1.0.0
-rwxr-xr-x. 1 root root 375352 Oct 12 2012 libssl.so.1.0.0
.............
找到以 libssl.so開頭的檔案,並沒有找到libssl.so.6檔案
3 建立軟連線
[root@test lib64]# ln -s libssl.so.6 libssl.so
再次檢視:
[root@test lib64]# cd /usr/lib64
.......
lrwxrwxrwx. 1 root root 15 Nov 24 14:41 libssl.so -> libssl.so.1.0.0
lrwxrwxrwx. 1 root root 15 Nov 5 14:30 libssl.so.10 -> libssl.so.1.0.0
-rwxr-xr-x. 1 root root 375352 Oct 12 2012 libssl.so.1.0.0
lrwxrwxrwx. 1 root root 9 Nov 24 14:59 libssl.so.6 -> libssl.so
.............
其實上面的libssl.so libssl.so.10 libssl.so.6 都是連線檔案,目標檔案都是libssl.so.1.0.0,要建立的連線也是要連線到這個檔案中去。。
同理:
libcrypto.so.6
檔案同樣操作
[root@test lib64]# ln -s libcrypto.so.6 libcrypto.so
檢視:
[root@test lib64]# ls
libcrypto.so libmpfr.so.1 libthai.so.0
libcrypto.so.10 libmpfr.so.1.2.0 libthai.so.0.1.4
libcrypto.so.1.0.0 libmp.so.3 libtheoradec.so.1
libcrypto.so.6 libmp.so.3.1.14 libtheoradec.so.1.1.3
libcrypt.so
Error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
錯誤的處理方法是一樣的!!
問題:
啟動nagios客戶端程式報錯!!
Error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
或者
Error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
都是一樣的錯誤!!
錯誤分析:
主要是找不到
libssl.so.6
libcrypto.so.6
這兩個檔案!!!!
解決辦法:
1 檢視openssl是否安裝
[root@test lib64]# rpm -qa | grep openssl
openssl-1.0.0-27.el6.x86_64
openssl-devel-1.0.0-27.el6.x86_64
(測試機已安裝)
(未安裝的可以使用yum安裝)
2 去到/usr/lib64目錄下
[root@test lib64]# cd /usr/lib64
.......
lrwxrwxrwx. 1 root root 15 Nov 24 14:41 libssl.so -> libssl.so.1.0.0
lrwxrwxrwx. 1 root root 15 Nov 5 14:30 libssl.so.10 -> libssl.so.1.0.0
-rwxr-xr-x. 1 root root 375352 Oct 12 2012 libssl.so.1.0.0
.............
找到以 libssl.so開頭的檔案,並沒有找到libssl.so.6檔案
3 建立軟連線
[root@test lib64]# ln -s libssl.so.6 libssl.so
再次檢視:
[root@test lib64]# cd /usr/lib64
.......
lrwxrwxrwx. 1 root root 15 Nov 24 14:41 libssl.so -> libssl.so.1.0.0
lrwxrwxrwx. 1 root root 15 Nov 5 14:30 libssl.so.10 -> libssl.so.1.0.0
-rwxr-xr-x. 1 root root 375352 Oct 12 2012 libssl.so.1.0.0
lrwxrwxrwx. 1 root root 9 Nov 24 14:59 libssl.so.6 -> libssl.so
.............
其實上面的libssl.so libssl.so.10 libssl.so.6 都是連線檔案,目標檔案都是libssl.so.1.0.0,要建立的連線也是要連線到這個檔案中去。。
同理:
libcrypto.so.6
檔案同樣操作
[root@test lib64]# ln -s libcrypto.so.6 libcrypto.so
檢視:
[root@test lib64]# ls
libcrypto.so libmpfr.so.1 libthai.so.0
libcrypto.so.10 libmpfr.so.1.2.0 libthai.so.0.1.4
libcrypto.so.1.0.0 libmp.so.3 libtheoradec.so.1
libcrypto.so.6 libmp.so.3.1.14 libtheoradec.so.1.1.3
libcrypt.so
Error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
錯誤的處理方法是一樣的!!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29500582/viewspace-1344734/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- mongod: error while loading shared libraries: libstdc++.so.6GoErrorWhileC++
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject
- MySQL 5.7初始化報錯error while loading shared libraries: libnuma.so.1MySqlErrorWhile
- linux puppeteer 截圖提示缺少chrome-linux/chrome error while loading shared libraries: libXdamage.so.1LinuxChromeErrorWhile
- linux編譯Android原始碼的時候出錯:error while loading shared libraries: libstdc++.so.6Linux編譯Android原始碼ErrorWhileC++
- Dynamics CRM CRM Reporting Error: Error occurred while fetching the data extension的解決方法ErrorWhile
- OGG-15050 Error loading Java VM runtime library: (2 No such file or directory)ErrorJava
- An error occurred while updating the entries. See the inner exception for details.ErrorWhileExceptionAI
- git push fatal: HttpRequestException encountered. An error occurred while sending the requestGitHTTPExceptionErrorWhile
- ERROR3948: Loading local data is disabled - this must be enabled on both the client and server sidesErrorclientServerIDE
- 視覺SLAM十四講第九講 執行程式中碰到的shared libraries相關的坑。視覺SLAM行程
- Qt開發,報錯:Error while building/deploying project untitled (kit: ....)QTErrorWhileUIProject
- org.postgresql.util.PSQLException: An I/O error occurred while sending to the backend.SQLExceptionErrorWhile
- RuntimeError: Error(s) in loading state_dict for SSD: Missing key(s) in解決辦法Error
- com.android.build.api.transform.TransformException: Error while generating the main dex list.AndroidUIAPIORMExceptionErrorWhileAI
- 排錯./configure: error: the HTTP XSLT module requires the libxml2/libxslt libraries. You can either doErrorHTTPUIXML
- loading
- 在 fish 終端下報錯 source: Error while reading file “xxx” 等問題ErrorWhile
- cassandra啟動報錯:Exiting due to error while processing commit log during initialization.ErrorWhileMIT
- 問題結局辦法:Error loading psycopg2 module: No module named ‘psycopg2‘Error
- [ERROR] mysqld: Can‘t open shared library ‘/usr/local/mysql/lib/plugin/validate_password.so‘ (errno:ErrorMySqlPlugin
- Loading ... done
- Java 迴圈 - for, while 及 do…whileJavaWhile
- ORACLE OMS啟動失敗之BEA-300040 I/O error while writing node manager statusOracleErrorWhile
- Signals-The Boost C++ LibrariesC++
- Cannot dlopen some GPU libraries.GPU
- while迴圈以及do while迴圈While
- python while/forPythonWhile
- Java while和do while迴圈詳解JavaWhile