我运行环境:rhat 5.4+oracle 10g R2(32bit)
当运行: ./runInstaller时会若如出现以下错误:
oracle@localhost database]$ ./runInstaller
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must beredhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
Passed
All installer requirements met.
Preparing to launch Oracle UniversalInstaller from /tmp/OraInstall2013-03-19_12-07-51PM. Please wait...[oracle@localhostdatabase]$ Exception in thread "main" java.lang.UnsatisfiedLinkError:/tmp/OraInstall2013-03-19_12-07-51PM/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)
........
解决办法(本人的是linux5.4,oracle10g):安装这个包libXp.so.6
rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm
[root@localhost ~]# cd /media
[root@localhost media]# ls
RHEL_5.4 i386 DVD VMwareTools-9.2.0-799703.tar.gz vmware-tools-distrib
[root@localhost media]# cd RHEL_5.4\ i386\DVD/
[root@localhost RHEL_5.4 i386 DVD]# LS
-bash: LS: command not found
[root@localhost RHEL_5.4 i386 DVD]# ls
Cluster RELEASE-NOTES-ko.html RELEASE-NOTES-U4-kn.html
ClusterStorage RELEASE-NOTES-ml.html RELEASE-NOTES-U4-ko.html
EULA Server
.....
.....
.....
运行以下代码:rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm 即可