REDHAT AS4 x86-64上安装Oracle10201报错

时间:2022-03-25 02:56:17
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%]