【故障處理】csscan工具無法使用,報錯“error while loading shared libraries...”
今天在使用Oracle的csscan工具對字符集轉換檢查時,出現報錯無法使用的問題。
把這個小問題的原因記錄一下。
1.【問題現象】
sec@secDB /home/oracle$ csscan
csscan: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
2.【問題原因】LD_LIBRARY_PATH
環境變數LD_LIBRARY_PATH沒有指定。
3.【問題處理】
將環境變數LD_LIBRARY_PATH設定為:“$ORACLE_HOME/lib”。
sec@secDB /home/oracle$ LD_LIBRARY_PATH=$ORACLE_HOME/lib
sec@secDB /home/oracle$ export LD_LIBRARY_PATH
sec@secDB /home/oracle$ csscan
4.【驗證】
Character Set Scanner v2.1 : Release 10.2.0.0.0 - Production on Tue Sep 29 16:00:36 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username:
5.【補充】
如果永久生效,可以將下面內容設定在作業系統使用者的環境變數中。
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH
6.【參考】
關於csscan工具的詳細用法和測試,請參見《【csscan】字符集掃描工具csscan“實操式”品味》http://space.itpub.net/519536/viewspace-615093。
-- The End --
把這個小問題的原因記錄一下。
1.【問題現象】
sec@secDB /home/oracle$ csscan
csscan: error while loading shared libraries: libclntsh.so.10.1: cannot open shared object file: No such file or directory
2.【問題原因】LD_LIBRARY_PATH
環境變數LD_LIBRARY_PATH沒有指定。
3.【問題處理】
將環境變數LD_LIBRARY_PATH設定為:“$ORACLE_HOME/lib”。
sec@secDB /home/oracle$ LD_LIBRARY_PATH=$ORACLE_HOME/lib
sec@secDB /home/oracle$ export LD_LIBRARY_PATH
sec@secDB /home/oracle$ csscan
4.【驗證】
Character Set Scanner v2.1 : Release 10.2.0.0.0 - Production on Tue Sep 29 16:00:36 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Username:
5.【補充】
如果永久生效,可以將下面內容設定在作業系統使用者的環境變數中。
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH
6.【參考】
關於csscan工具的詳細用法和測試,請參見《【csscan】字符集掃描工具csscan“實操式”品味》http://space.itpub.net/519536/viewspace-615093。
-- The End --
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/519536/viewspace-615936/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- csscan: error while loading shared libraries: libclntsh.so.10.1CSSErrorWhile
- 使用SRVCTL時報錯:error while loading shared librariesErrorWhile
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- error while loading shared librariesErrorWhile
- error while loading shared libraries 錯誤解決辦法總結ErrorWhile
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- ./ggsci: error while loading shared librariesErrorWhile
- ORACLE SQLPLUS 報 error while loading shared libraries[轉]OracleSQLErrorWhile
- sqlldr執行報錯:error while loading shared libraries: libclntsh.so.10.1:SQLErrorWhile
- sqlplus: error while loading shared librariesSQLErrorWhile
- MySQL 5.7初始化報錯error while loading shared libraries: libnuma.so.1MySqlErrorWhile
- /opt/nginx/sbin/nginx: error while loading shared librariNginxErrorWhile
- 解決"error while loading shared libraries: libclntshErrorWhile
- 執行csscan出現loading shared libraries錯誤CSS
- 錯誤"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: libaio.so.1ErrorWhileAI
- Error while loading shared libraries: libssl.so.6:ErrorWhile
- Mysql的error while loading shared libraries解決方法MySqlErrorWhile
- error while loading shared libraries: libcap.so.1: cannot open sharedErrorWhile
- 錯誤 error while loading shared libraries: libclntsh.so.9.0 的解決ErrorWhile
- oinstall組使用者連線資料庫報錯error while loading shared libraries: libskgxp10.so資料庫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
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No suchErrorWhileIBMMySqlclientObject
- 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++
- sqlplus: error while loading shared libraries的解決方案SQLErrorWhile
- sqlplus: error while loading shared libraries: libaio.so.1:SQLErrorWhileAI
- 【故障處理】【oerr】【grep】謹防grep“花哨”功能導致oerr工具無法使用
- 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