個安裝過程中最容易出現的問題,總結如下:
REDHAT AS4 x86-64上安裝Oracle10201報錯:
首先我們來看一下錯誤信息:
Exception in thread "main" Java.lang.UnsatisfIEdLinkError:
/tmp/OraInstall2007-12-03_09-02-02AM/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.(Unknown Source)
at Java.awt.Component.(Unknown Source)
在查詢metalink時你會發現原因是由於缺少了libXp.so.6包,根據Oracle的解決方案需要安裝xorg-x11-deprecated-libs-6.8.2-1.EL.13.20.i386.rpm包。不過REDHAT AS4中包含的相應的包版本比較低。於是從Oracle提供的ENTERPRISE Linux for X86-64 R4中找到了相應的包,安裝這個包以後,安裝過程就會順利開始:
[root@haoc2008 data]# rpm
-ivh xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.i386.rpm
warning: xorg-x11-deprecated-libs-6.8.2-1.EL.13.37.i386.rpm:
V3 DSA signature: NOKEY, key ID b38a8516
Preparing... ########################################### [100%]
1:xorg-x11-deprecated-lib################################## [100%]