sqlplus: error while loading shared libraries: libsqlplus.so
今天群裡問他的sqlplus無法登入報如下錯誤
[oracle@localhost ]$ sqlplus /nolog
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
明顯感覺是環境變數配置的問題,讓其發過來環境變數
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# for oracle i
PATH=$PATH:$HOME/bin
#oracle add
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_SID=orcl
export PATH=$PATCH:/ORACLE_HOME/bin:$HOME/bin #這個明顯寫錯誤了
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH #這個不需要在寫了啊!!!!
修改就簡單了
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
[oracle@localhost ]$ sqlplus /nolog
sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory
明顯感覺是環境變數配置的問題,讓其發過來環境變數
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# for oracle i
PATH=$PATH:$HOME/bin
#oracle add
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_SID=orcl
export PATH=$PATCH:/ORACLE_HOME/bin:$HOME/bin #這個明顯寫錯誤了
export ORACLE_BASE ORACLE_HOME ORACLE_SID PATH #這個不需要在寫了啊!!!!
修改就簡單了
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/11590946/viewspace-1064200/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 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++
- [20200309]rlwrap: error: Cannot execute sqlplus: Too many levels of symbolic linErrorSQLSymbol
- 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
- 【SQLPLUS】sqlplus 客戶端所需的檔案列表SQL客戶端
- ORACLE OMS啟動失敗之BEA-300040 I/O error while writing node manager statusOracleErrorWhile
- [20230323]sqlplus #.txtSQL
- Signals-The Boost C++ LibrariesC++
- Cannot dlopen some GPU libraries.GPU