--
NOTE that the binutils is an older version and is required for the
Oracle install ONLY.
Also, you need the x86_64 versions of libaio.
I just finished installing those rpms and re-installed Oracle (no
errors) and then used dbca to create a script to create the
database.
It is currently running and I have NO errors .. yet! I will post
again once the install is finished.
CentOS上有些包没的,以下是我机器上安装的包:
[root@puppet ~]# rpm -q --qf
'%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils c
libstdc++-devel make pdksh sysstat xscreensaver libaio
libaio-devel
binutils-2.17.50.0.6-12.el5 (x86_64)
compat-db-4.2.52-5.1 (x86_64)
compat-db-4.2.52-5.1 (i386)
package control-center is not installed
gcc-4.1.2-48.el5 (x86_64)
gcc-c++-4.1.2-48.el5 (x86_64)
glibc-2.5-42 (x86_64)
glibc-2.5-42 (i686)
glibc-common-2.5-42 (x86_64)
package gnome-libs is not installed
libstdc++-4.1.2-48.el5 (x86_64)
libstdc++-4.1.2-48.el5 (i386)
libstdc++-devel-4.1.2-48.el5 (x86_64)
make-3.81-3.el5 (x86_64)
pdksh-5.2.14-36.el5 (x86_64)
sysstat-7.0.2-3.el5 (x86_64)
package xscreensaver is not installed
libaio-0.3.106-3.2 (x86_64)
libaio-0.3.106-3.2 (i386)
package libaio-devel is not installed
根上面这个人说的一样,装好上面的软件后,再重新安装oracle软件,就能正常的进行了。
安装过程中碰到的其他错误:
1、运行 runInstaller脚本的时候报这个错:
[oracle@localdomain database]$ ./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/OraInstall2005-08-30_10-54-49PM. Please wait
...[oracle@localdomain database]$ Exception in thread "main"
java.lang.UnsatisfiedLinkError:
/tmp/OraInstall2005-08-30_10-54-49PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object
file: No such file or directoryat 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.(Unknown
Source)
at
java.awt.Component.(Unknown
Source)
[oracle@localdomain database]$
解决方法:
安装xorg-x11-deprecated-libs包
2、问题如下:
INFO: /usr/bin/ld
INFO: : crt1.o: No such file: No such file or
directory
collect2: ld returned 1 exit status
INFO: make: *** [ctxhx] Error 1
INFO: End output from spawned
process.
解决方法(在网上查到的方法):
原文:"INFO: /usr/bin/ld: crt1.o: No such file: No
such file or directory" means that you are
missingglibc-develpackage on your system (check the installation
prerequisites).If the output of uname -m is "x86_64" then you need
to install installed 64 bit along with 32 bit version of
package.(意思是在x86_64位系统上,glibc-devel相应的32位及64位包均需安装)
3、问题如下:
INFO: gcc:
INFO: /usr/lib64/libstdc++.so.5: No such file or
directory
INFO:
INFO:
/u01/app/oracle/product/10.2.0/db_1/bin/genorasdksh: Failed to link
liborasdkbase.so.10.2
INFO: make: ***
[liborasdkbase] Error 1
INFO: End output
from spawned process.
解决方法:
系统中存在libstdc++.so.6文件
[root@puppet_client tmp]# ll
/usr/lib64/libstdc++.so.6
lrwxrwxrwx 1 root root 18 Apr 21 09:47
/usr/lib64/libstdc++.so.6 ->
libstdc++.so.6.0.8
创建libstdc++.so.5的软链接指向libstdc++.so.6
[root@puppet_client tmp]# cp -s
/usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.5
[root@puppet_client tmp]# ll
/usr/lib64/libstdc++.so.5
lrwxrwxrwx 1 root root 14 Apr 21 10:17
/usr/lib64/libstdc++.so.5 ->
libstdc++.so.6
如果还有其它错误,推荐大家去http://forums.oracle.com找。在google里面搜关键词,类似“
oracle *** Error number” 。