redhat linux6.6 安裝oracle10g報錯libawt.so: libXt.so.6: cannot open
開發組有個測試需要,要求按照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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Nginx安裝啟動過程報錯libpcre.so.1 cannot open shared object file: No such file or directoryNginxObject
- redhat安裝dockerRedhatDocker
- thinkphp5 寶塔安裝報錯 open_basedir restriction in effectPHPREST
- 呼叫torchtext報錯OSError: libtorch_cpu.so: cannot open shared object file: No such file or directoryErrorObject
- 【cypress】2. 安裝Cypress(windows系統),以及cypress open報錯解決。Windows
- Linux(01):RedHat 7.6 安裝LinuxRedhat
- centOS(同redhat)安裝 dockerCentOSRedhatDocker
- mpi4py安裝報錯error: Cannot compile MPI programs. Check your configuration!!!ErrorCompile
- 安裝heapster報錯
- 安裝VUE報錯Vue
- CentOS7中使用yum安裝時報cannot find a valid baseurl for repo錯誤CentOS
- RedHat FC5安裝xmmsRedhat
- PostgreSQL:Redhat 8.5 + PostgreSQL 14.5 安裝SQLRedhat
- allowedOrigins cannot contain the gateway 報錯AIGateway
- inplace-abn 報錯解決: ImportError: libcudart.so.9.0: cannot open shared object file: No such file or dirImportErrorDartObject
- freeipa server安裝報錯Server
- Linux安裝virtualenvwrapper報錯LinuxAPP
- snipMate安裝後報錯
- CDC linux安裝報錯Linux
- pip 安裝 grpcio 報錯RPC
- Redhat 7 下安裝達夢7Redhat
- RedHat 7.6作業系統安裝Redhat作業系統
- gateway 報錯 allowedOrigins cannot contain the specialGatewayAI
- 【Open-Falcon】Linux下安裝Open-FalconLinux
- MogDB 安裝解壓錯誤:cannot run bzip2: No such file or directory
- 安裝open3d3D
- 安裝grid軟體報錯
- eclipse 4.8安裝fat報錯Eclipse
- Composer 安裝 Laravel/passport 報錯LaravelPassport
- Kubernetes安裝報錯總結
- python (pip)安裝talib報錯Python
- redhat 5.4下安裝MYSQL全過程RedhatMySql
- pip 安裝selenium報錯:Cannot fetch index base URL https://pypi.python.org/simple/怎麼解決??IndexHTTPPython
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch
- 關閉tomcat報錯Cannot allocate memoryTomcat
- 前端報錯:cannot read property length of undefined前端Undefined
- Too many open files報錯處理
- VirtualBox安裝增強功能報錯
- npm install 安裝外掛報錯NPM