安裝oracle 10g遇到cannot open shared object file這個錯誤以及解決方法
[root@dba ~]# su - oracle
[oracle@dba ~]$ /mnt/runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
????????????????????????????????????? Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-04-07_04-05-41PM. Please wait ...[oracle@dba ~]$
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-04-07_04-05-41PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
??????? at java.lang.ClassLoader$NativeLibrary.load(Native Method)
??????? at java.lang.ClassLoader.loadLibrary0(Unknown Source)
??????? at java.lang.ClassLoader.loadLibrary(Unknown Source)
??????? at java.lang.Runtime.loadLibrary0(Unknown Source)
??????? at java.lang.System.loadLibrary(Unknown Source)
??????? at sun.security.action.LoadLibraryAction.run(Unknown Source)
??????? at java.security.AccessController.doPrivileged(Native Method)
??????? at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
??????? at sun.awt.DebugHelper.<clinit>(Unknown Source)
??????? at java.awt.Component.<clinit>(Unknown Source)
[oracle@dba ~]$
檢查后發現少libXp包
切換到 root賬號, yum安裝改包:
[root@localhost /]# yum install libXp
安裝完成之后:
[root@localhost /]# rpm -qa | grep libXp
libXpm-devel-3.5.5-3
libXpm-3.5.5-3
libXp-1.0.0-8.1.el5
[root@localhost /]#
然后執行xhost+ 命令,切換到oracle用戶 重新運行安裝程序runInstaller, 問題解決
更多文章、技術交流、商務合作、聯系博主
微信掃碼或搜索:z360901061

微信掃一掃加我為好友
QQ號聯系: 360901061
您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。
【本文對您有幫助就好】元
