环境centos 5.1
oracle 10.2.0.1.0
在安装oracle 软件时前期的产品特定的先决条件检查时都已经通过。在link时出现如下错误
Error in invoking target 'all_no_orcl ihsodbc' of makefile '/oracle/app/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/oracle/app/oraInventory/logs/installActions2010-06-08_09-35-08AM.log' for details.
查看如上的日志文件显示如下错误部分信息
INFO: - Linking liborasdkbase
INFO: /oracle/app/product/10.2.0/db_1/bin/genorasdksh -base
INFO: $Id: genorasdksh.sh 02-mar-2005.16:22:46 mchengjr Exp $
INFO: Generating BASE ORASDK library...
INFO: Creating /oracle/app/product/10.2.0/db_1/lib/liborasdkbase.so.10.2
INFO: gcc:
INFO: /usr/lib/libstdc++.so.5: No such file or directory
INFO:
INFO: /oracle/app/product/10.2.0/db_1/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
INFO: make:
INFO: *** [liborasdkbase] Error 1
INFO:
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl ihsodbc' of makefile '/oracle/app/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/oracle/app/oraInventory/logs/installActions2010-06-08_09-35-08AM.log' for details.
Exception Severity: 1
解决方法:是由于缺少compat-libstdc++-33*兼容包所报的错误
[root@yao1 CentOS]# rpm -ivh compat-libstdc++-33-3.2.3-61.i386.rpm
Preparing... ########################################### [100%]
1:compat-libstdc++-33 ########################################### [100%]
之后就可以进行链接了。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22608279/viewspace-668228/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/22608279/viewspace-668228/