日期:2014-05-16  浏览次数:20471 次

安装ORACLE时出现的小错误

[oracle@dss-dongban1 database]$ ./runInstaller ?-ignoreSysPrereqs

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-06-26_03-34-01PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..

java.lang.UnsatisfiedLinkError: /tmp/OraInstall2013-06-26_03-34-01PM/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)

? ? ? ? at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)

? ? ? ? at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)

? ? ? ? at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)

? ? ? ? at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)

? ? ? ? at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)

? ? ? ? at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

Exception in thread "main" java.lang.NoClassDefFoundError

? ? ? ? at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)

? ? ? ? at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)

原因是缺少libXp包,到linux安装光盘里,执行:

yum install ?libXp-1.0.0-15.1.el6.i686.rpm

?yum install glibc-devel-2.12-1.47.el6.i686.rpm

yum install libXau-1.0.5-1.el6.i686.rpm

yum install libXau-devel-1.0.5-1.el6.i686.rpm

解决问题