程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> Oracle數據庫 >> Oracle教程 >> linux上安裝ORACLE_10.2.0提示缺少系統安裝包libXp.so.6,調用jdk報錯

linux上安裝ORACLE_10.2.0提示缺少系統安裝包libXp.so.6,調用jdk報錯

編輯:Oracle教程

今天在VWMARE上做了下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,問題解決。

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved