Linux上安装Oracle 10.2.0提示缺少系统安装包libXp.so.6,调用jdk

今天在VMware上做了下Linux, Oracle 的安装实验。
 
我系统环境配置:
 
OS:Linux test 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:21 EST 2007 i686 i686 i386 GNU/Linux
 
Database: 10201_database_linux32.iso
 
在安装Oracle软件的时候突然出现如下的错误:
 
[oracle@test database3]$ ./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-06-05_02-05-27PM. Please wait ...[oracle@test database3]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2014-06-05_02-05-27PM/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
 
解决办法
 
1,  去下载缺少的包:libXp-1.0.0-8.1.el5.i386.rpm

2,安装此包:
 
[root@test ~]# rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
 warning: libXp-1.0.0-8.1.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
 Preparing...                ########################################### [100%]
    1:libXp                  ########################################### [100%]
 
再次运行runInstaller,问题解决。

相关推荐