今天在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,問題解決。