redhat linux6.6 安裝oracle10g報錯libawt.so: libXt.so.6: cannot open

pxbibm發表於2015-08-11

開發組有個測試需要,要求按照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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章