在64位操作系统Redhat5.4上装Oracle64位,遇到
/tmp/OraInstall2010-03-15_10-16-11PM/jre/1.4.2/lib/i386/libawt.so: libXp .so.6: cannot open shared object file: No such file or directory occurred..
,只要在装一下32位的libXp
rpm -Uvh libXp-1.0.0-8.1.el5.i386.rpm libXp-devel-1.0.0-8.1.el5.i386.rpm
就解决了,另外如果不能上网下载其他的一些包,可以从光盘里用下面命令装rpm,解决依赖问题:
cd /media/RHEL_5.4\ x86_64\ DVD/Server/
yum localinstall libXp*.el5.x86_64.rpm compat-*.el5.x86_64.rpm make*.el5.x86_64.rpm gcc*.el5.x86_64.rpm glibc*.el5.x86_64.rpm glibc-*.el5.x86_64.rpm setarch*.el5.x86_64.rpm libstdc++*.el5.x86_64.rpm libaio*.el5.x86_64.rpm openmotif*.el5.x86_64.rpm el5futils*.el5.x86_64.rpm binutils*.el5.x86_64.rpm sysstat*.el5.x86_64.rpm unix*.el5.x86_64.rpm --nogpgcheck --skip-broken
就可以了。
解压oracle安装文件:cpio -idmv < 10201_database_linux_x86_64.cpio
注操作系统版本:
[oracle@oracle ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
[oracle@oracle ~]$ uname -ar
Linux oracle 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
[oracle@oracle ~]$