Exception in thread "main" java.lang.UnsatisfiedLinkError: i386/libawt.so

pxbibm發表於2014-07-10
./runInstaller 
Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-07-10_07-41-52AM. Please wait ...[oracle@OCM1 database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-07-10_07-41-52AM/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)

原因是缺少了包,裝上如下的包就可以了。

# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm

libXau-devel-1.0.1-3.1.i386.rpm

      libXp-1.0.0-8.1.el5.i386.rpm

      libXp-devel-1.0.0-8.1.el5.i386.rpm


-----------------------------------------------------------------------------------------------------------------------

2014.07.10 13:20
share you knowledge with the world.


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/12798004/viewspace-1215538/,如需轉載,請註明出處,否則將追究法律責任。

相關文章