Oracle Linux 6.5 安裝Oracle 10gR2

Davis_itpub發表於2018-06-27
報錯現象:
[oracle@test database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2016-06-28_11-51-05AM/jre/1.4.2/lib/i386/libawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
缺少幾種包,會報類似的錯誤。

yum -y install libXp.i686
[root@test 10gR2-linuxX86_64-齊]#  yum -y install libXt.i686
Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libXt.i686 0:1.1.3-1.el6 will be installed
--> Processing Dependency: libICE.so.6 for package: libXt-1.1.3-1.el6.i686
--> Processing Dependency: libSM.so.6 for package: libXt-1.1.3-1.el6.i686
--> Running transaction check
---> Package libICE.i686 0:1.0.6-1.el6 will be installed
---> Package libSM.i686 0:1.2.1-2.el6 will be installed
--> Processing Dependency: libuuid.so.1 for package: libSM-1.2.1-2.el6.i686
--> Processing Dependency: libuuid.so.1(UUID_1.0) for package: libSM-1.2.1-2.el6.i686
--> Running transaction check
---> Package libuuid.i686 0:2.17.2-12.14.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================
 Package             Arch             Version                         Repository          Size
===============================================================================================
Installing:
 libXt               i686             1.1.3-1.el6                     server             178 k
Installing for dependencies:
 libICE              i686             1.0.6-1.el6                     server              52 k
 libSM               i686             1.2.1-2.el6                     server              36 k
 libuuid             i686             2.17.2-12.14.el6                server              68 k

Transaction Summary
===============================================================================================
Install       4 Package(s)

Total download size: 334 k
Installed size: 627 k
Downloading Packages:
-----------------------------------------------------------------------------------------------
Total                                                          1.1 MB/s | 334 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : libICE-1.0.6-1.el6.i686                                                     1/4
  Installing : libuuid-2.17.2-12.14.el6.i686                                               2/4
  Installing : libSM-1.2.1-2.el6.i686                                                      3/4
  Installing : libXt-1.1.3-1.el6.i686                                                      4/4
  Verifying  : libICE-1.0.6-1.el6.i686                                                     1/4
  Verifying  : libuuid-2.17.2-12.14.el6.i686                                               2/4
  Verifying  : libSM-1.2.1-2.el6.i686                                                      3/4
  Verifying  : libXt-1.1.3-1.el6.i686                                                      4/4

Installed:
  libXt.i686 0:1.1.3-1.el6                                                                     

Dependency Installed:
  libICE.i686 0:1.0.6-1.el6    libSM.i686 0:1.2.1-2.el6    libuuid.i686 0:2.17.2-12.14.el6   

Complete!
[root@test 10gR2-linuxX86_64-齊]#  yum -y install libXtst.i686
\Loaded plugins: refresh-packagekit, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package libXtst.i686 0:1.2.1-2.el6 will be installed
--> Processing Dependency: libXi.so.6 for package: libXtst-1.2.1-2.el6.i686
--> Running transaction check
---> Package libXi.i686 0:1.6.1-3.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================
 Package               Arch               Version                   Repository            Size
===============================================================================================
Installing:
 libXtst               i686               1.2.1-2.el6               server                28 k
Installing for dependencies:
 libXi                 i686               1.6.1-3.el6               server                34 k

Transaction Summary
===============================================================================================
Install       2 Package(s)

Total download size: 62 k
Installed size: 114 k
Downloading Packages:
-----------------------------------------------------------------------------------------------
Total                                                          231 kB/s |  62 kB     00:00     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libXi-1.6.1-3.el6.i686                                                      1/2
  Installing : libXtst-1.2.1-2.el6.i686                                                    2/2
  Verifying  : libXi-1.6.1-3.el6.i686                                                      1/2
  Verifying  : libXtst-1.2.1-2.el6.i686                                                    2/2

Installed:
  libXtst.i686 0:1.2.1-2.el6                                                                   

Dependency Installed:
  libXi.i686 0:1.6.1-3.el6                                                                     

Complete!
[root@test 10gR2-linuxX86_64-齊]#

用Oracle使用者./runInstaller可以正常啟動圖形化介面了。


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

相關文章