ITPub博客

首页 > 数据库 > Oracle > redhat linux6.6 安装oracle10g报错libawt.so: libXt.so.6: cannot open

redhat linux6.6 安装oracle10g报错libawt.so: libXt.so.6: cannot open

原创 Oracle 作者:pxbibm 时间:2015-08-11 15:10:12 0 删除 编辑

开发组有个测试需要,要求按照oracle10g,在linux6.6上装了下oracle10g,确实是知道oracle10g没有在redhat6.6的版本认证,于是就试着安装下。刚执行runInstaller,就缺包,也在我的意料之中,可是后边的缺包[libawt.so: libXt.so.6]就不知道具体的包名了,挨个尝试了半天才找对包,要是oracle能够提示具体的包名该多好。在这记录下,以后方便查找。
下边就是我安装时遇到的问题:

[oracle@rhl6 database]$ ./runInstaller -ignoreSysPrereqs 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 Failed <<<< >>> Ignoring required pre-requisite failures. Continuing... Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-01-25_06-10-43PM. Please wait ...[oracle@rhl6 database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production Copyright (C) 1999, 2005, Oracle. All rights reserved. Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2015-08-11_06-10-43PM/jre/1.4.2/lib/i386/libawt.so: libXt.so.6: cannot open shared object file: No such file or directory occurred.. java.lang.UnsatisfiedLinkError: /tmp/OraInstall2015-08-11_06-10-43PM/jre/1.4.2/lib/i386/libawt.so: libXt.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) at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.(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.(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.oiif.oiifm.OiifmAlert.(OiifmAlert.java:151) at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984) at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

发现缺包[libawt.so: libXt.so.6]导致,找了半天并确定缺少下边的安装包

[root@rhl6 Packages]# yum install libXt.i686 libXtst.i686 Loaded plugins: rhnplugin This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package libXt.i686 0:1.0.7-1.el6 set to be updated --> Processing Dependency: libICE.so.6 for package: libXt-1.0.7-1.el6.i686 --> Processing Dependency: libSM.so.6 for package: libXt-1.0.7-1.el6.i686 ---> Package libXtst.i686 0:1.0.99.2-3.el6 set to be updated --> Processing Dependency: libXi.so.6 for package: libXtst-1.0.99.2-3.el6.i686 --> Running transaction check ---> Package libICE.i686 0:1.0.6-1.el6 set to be updated ---> Package libSM.i686 0:1.1.0-7.1.el6 set to be updated --> Processing Dependency: libuuid.so.1 for package: libSM-1.1.0-7.1.el6.i686 --> Processing Dependency: libuuid.so.1(UUID_1.0) for package: libSM-1.1.0-7.1.el6.i686 ---> Package libXi.i686 0:1.3-3.el6 set to be updated --> Running transaction check ---> Package libuuid.i686 0:2.17.2-6.el6 set to be updated --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================== Installing: libXt                       i686 1.0.7-1.el6 rhel-localrepos 168 k
 libXtst                     i686 1.0.99.2-3.el6 rhel-localrepos 22 k Installing for dependencies: libICE                      i686 1.0.6-1.el6 rhel-localrepos 52 k
 libSM                       i686 1.1.0-7.1.el6                       rhel-localrepos 26 k
 libXi                       i686 1.3-3.el6 rhel-localrepos 32 k
 libuuid                     i686 2.17.2-6.el6 rhel-localrepos 62 k Transaction Summary ==================================================================================================================================== Install 6 Package(s) Upgrade 0 Package(s) Total download size: 362 k Installed size: 653 k Is this ok [y/N]: y Downloading Packages: ------------------------------------------------------------------------------------------------------------------------------------ Total 3.2 MB/s | 362 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : libICE-1.0.6-1.el6.i686 1/6 Installing : libuuid-2.17.2-6.el6.i686 2/6 Installing : libSM-1.1.0-7.1.el6.i686 3/6 Installing : libXi-1.3-3.el6.i686 4/6 Installing : libXtst-1.0.99.2-3.el6.i686 5/6 Installing : libXt-1.0.7-1.el6.i686 6/6 Installed: libXt.i686 0:1.0.7-1.el6 libXtst.i686 0:1.0.99.2-3.el6 Dependency Installed: libICE.i686 0:1.0.6-1.el6 libSM.i686 0:1.1.0-7.1.el6       libXi.i686 0:1.3-3.el6 libuuid.i686 0:2.17.2-6.el6 Complete!

继续安装

[oracle@rhl6 database]$ ./runInstaller -ignoreSysPrereqs 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 Failed <<<< >>> Ignoring required pre-requisite failures. Continuing... Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-08-11_06-12-06PM. Please wait ...[oracle@rhl6 database]$ Oracle Universal Installer, Version 10.2.0.1.0 Production Copyright (C) 1999, 2005, Oracle. All rights reserved.

终于看到界面了...

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12798004/viewspace-1768272/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    240
  • 访问量
    2155064