朋友在Linux上安装Oracle 10g遇到了2个问题。
1.检查时提示网络问题
固定IP是已经配置好的,仍然提示DHCP的问题:
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
经过检查,是/etc/hosts文件的问题,hosts文件中的本地地址配置和实际不符合,改正之后可以顺利通过。
2.安装中提示/usr/bin/ld: crt1.o: No such file: No such file or directory
安装中报错,提示:
INFO: /
INFO: usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
通过如下命令检查:
[root@db bin]# rpm -qf /usr/lib/crt1.o
error: file /usr/lib/crt1.o: No such file or directory
相应文件确实不存在,这是glibc-devel安装的问题,在64位系统,最好将32位和64位同时装上去,防止编译时用到出错。
安装可以参考如下文档: http://www.puschitz.com/InstallingOracle10g.shtml