Error while loading shared libraries: libreadline.so.7: cannot open shared objec
-
OpenGuass 版本:3.1.0
-
OpenGuass 部署架構:一主一備
-
主機型別:openEuler 20.03 (LTS-SP3)
-
Python 版本:3.7.9
-
db01 主節點 db02 備節點
第一 報錯資訊:
[root@db01 script]# ./gs_preinstall -U omm -G dbgrp -X /opt/software/openGauss/cluster_config.xml
Parsing the configuration file.
Successfully parsed the configuration file.
Installing the tools on the local node.
Successfully installed the tools on the local node.
Are you sure you want to create trust for root (yes/no)?yes
Please enter password for root
Password:
[GAUSS-51632] : Failed to do gs_sshexkey.Error: Please enter password for current user[root].
Checking network information.
All nodes in the network are Normal.
Successfully checked network information.
Creating SSH trust.
Creating the local key file.
Creating the local key file.
Creating the local key file.
Error: Failed to create public private keyfile,output is [Failed to encrypt secret words, error:./encrypt: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory.]
第二 錯誤分析:
透過報錯明顯可以發現是無法找到libreadline.so.7,透過系統查詢確認沒有該包,當前已經是 libreadline.so.8,可能是因為我的系統版本高,官方要求的版本是 openEuler 20.03LTS,而我安裝的是 openEuler 20.03 (LTS-SP3)
第三 解決方法:
第一種方法:降低版本,但無法確定系統是否可行,是否影響系統(未驗證)
第二種方法:建立軟連結,建立 libreadline.so. 7 軟連結指向 libreadline.so.8,但該方法 無法確認是否影響資料庫的穩定性和其他方面的功能,需要官方進行說明(已驗證)
[root@db01 script]# ln -s /usr/lib64/libreadline.so.8 /usr/lib64/libreadline.so.7
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26342786/viewspace-2925350/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- error while loading shared libraries: libcap.so.1: cannot open sharedErrorWhile
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- error while loading shared libraries: libstdc++.so.5: cannot openErrorWhileC++
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- error while loading shared libraries: libodm9.so: cannot open shared object file: No such file or diErrorWhileObject
- error while loading shared librariesErrorWhile
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- ./ggsci: error while loading shared librariesErrorWhile
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject
- while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or dirWhilethreadObject
- sqlplus: error while loading shared librariesSQLErrorWhile
- 使用SRVCTL時報錯:error while loading shared librariesErrorWhile
- 解決"error while loading shared libraries: libclntshErrorWhile
- opensuse13.1 安裝chrome報 error while loading shared libraries:libudev.so.0:cannot open shared object file:no file or directoryChromeErrorWhiledevObject
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- error while loading shared libraries: libaio.so.1ErrorWhileAI
- Error while loading shared libraries: libssl.so.6:ErrorWhile
- Mysql的error while loading shared libraries解決方法MySqlErrorWhile
- 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: libgconf-2.so.4:ErrorWhileGC
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- csscan: error while loading shared libraries: libclntsh.so.10.1CSSErrorWhile
- sqlplus: error while loading shared libraries的解決方案SQLErrorWhile
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- sqlplus: error while loading shared libraries: libaio.so.1:SQLErrorWhileAI
- error while loading shared libraries 錯誤解決辦法總結ErrorWhile
- sqlplus: error while loading shared libraries: libsqlplus.soSQLErrorWhile
- [mysql]error while loading shared libraries: libaio.so.1: 解決方案MySqlErrorWhileAI
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- root.sh / vipca: error while loading shared libraries: libpth read.so.PCAErrorWhile
- 錯誤 error while loading shared libraries: libclntsh.so.9.0 的解決ErrorWhile
- shared libraries: libpthread.so.0: cannot open shared object file: No such file or directorythreadObject
- sqlldr執行報錯:error while loading shared libraries: libclntsh.so.10.1:SQLErrorWhile