且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

【Oracle】安装10.2.0.1 遇到的问题。

更新时间:2022-08-19 22:00:24

安装oracle 10.2.0.1 for x86——64位的过程中遇到了如下错误:
【Oracle】安装10.2.0.1 遇到的问题。
INFO: /usr/bin/ld: crt1.o: No such file: No such file or directory
INFO: collect2: ld returned 1 exit status
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '/u/oracle/products/10.2.0/ctx/lib/ins_ctx.mk'. See '/u/oracle/oraInventory/logs/installActions2011-11
-15_08-09-08PM.log' for details.
Exception Severity: 1
logout
从错误提示中可以看见在/usr/bin/ld目录下没有 crt1.o这个文件。怀疑缺少rpm包导致此结果。
[Intranet root@inc-search-pca-137-11 /u/oracle]
#find / -name 'crt1.o'
/usr/lib64/crt1.o
/usr/lib/i386-redhat-linux4E/lib/crt1.o
/usr/lib/x86_64-redhat-linux4E/lib64/crt1.o
查看使用此文件的rpm包。
[Intranet root@inc-search-pca-137-11 /u/oracle]
#rpm -qf /usr/lib64/crt1.o
glibc-devel-2.5-49.6
再次检查 此包的安装情况,已安装。查了资料才发现:64位的oracle,glibc-2.3.4-2.41,libstdc++-,libstdc++-devel,libaio是i386和x86-64的版本都需要的。
[Intranet root@inc-search-pca-137-11 /u/oracle]
#rpm -q glibc-devel-2.5-49.6
glibc-devel-2.5-49.6
使用yum 安装 glibc-devel-2.5-49.6 此包。
[Intranet root@inc-search-pca-137-11 /u/oracle]
Package glibc-devel-2.5-49.6.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package glibc-devel.i386 0:2.5-49.6 set to be updated
--> Finished Dependency Resolution
....
Downloading Packages:
glibc-devel-2.5-49.6.i386.rpm                                                                                                                   | 2.0 MB     00:00     
...
Running Transaction
  Installing     : glibc-devel                                       [1/1] 
Installed: glibc-devel.i386 0:2.5-49.6
Complete!
再次执行OUI的安装。顺利进行
参考文章:
http://blog.sina.com.cn/s/blog_53a844e50100n74s.html

【Oracle】安装10.2.0.1 遇到的问题。oracle 安装错误.JPG