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: libgsl.so.27: cannot open shared objectErrorWhileObject
- ./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
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- mongod: error while loading shared libraries: libstdc++.so.6GoErrorWhileC++
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- 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++
- python libclntsh.so.12.1: cannot open shared object filePythonObject
- libmysqlclient.so.16: cannot open shared object file: No such file or directoryIBMMySqlclientObject
- libcudart.so.8.0: cannot open shared object file解決方案DartObject
- ImportError: libffi.so.7: cannot open shared object file: No such file or directoryImportErrorObject
- CentOS7提示 libsasl2.so.2: cannot open shared object fileCentOSObject
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- [ERROR] mysqld: Can‘t open shared library ‘/usr/local/mysql/lib/plugin/validate_password.so‘ (errno:ErrorMySqlPlugin
- inplace-abn 報錯解決: ImportError: libcudart.so.9.0: cannot open shared object file: No such file or dirImportErrorDartObject
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- conda環境下ImportError: libmkl_intel_lp64.so.1: cannot open shared object file問題解決ImportErrorIBMIntelObject
- 影片匯聚平臺EasyCVR啟動出現報錯“cannot open shared object file”的原因排查與解決VRObject
- std::make_shared
- 共享池 shared pool
- [20200212]使用DBMS_SHARED_POOL.MARKHOT與檢視v$open_cursor.txt
- Oracle Shared Pool Memory ManagementOracle
- Flutter shared_preferences 探究Flutter
- vlc play video shared by sambaIDESamba
- Random.Shared.Next 使用random
- Cannot dlopen some GPU libraries.GPU
- 視覺SLAM十四講第九講 執行程式中碰到的shared libraries相關的坑。視覺SLAM行程
- How to compile libusb as shared/static libraryCompile
- [20190419]shared latch spin count.txt
- C++,std::shared_future的使用C++
- shared_ptr 傳值和傳引用