libXp.so.6: cannot open shared object file: No such file or directory

安装oracle的时候报错

libXp.so.6: cannot open shared object file: No such file or directory

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-04-16_12-25-01PM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2015-04-16_12-25-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)
[oracle@localhost database]$

 需要安装libXp-1.0.0-8.1.el5.i386.rpm包

[root@localhost CentOS]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm

 

 

你可能感兴趣的:(oracle,File,cannot,shared)