RHEL6安装Oracle错误
今天在RHEL上安装了Oracle10g,不料出了下面的错误提示:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2011-09-29_02-16-45AM/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)
上面说,这个错误是由于没有libXp.so.6这个包,就用yum安装,同时把相关的包也装上。
yum -y install libXp*
问题就这么个解决了,
Easy? Enjoy...