CentOS6安装Oracle 10g错误

第一次在CentOS6版本的环境下安装Oracle 10g,遇到了如下错误:
INFO: Generating BASE ORASDK library...

INFO: Creating /u01/oracle/10g/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: /u01/oracle/10g/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.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl ihsodbc' of makefile '/u01/oracle/10g/product/10.2.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/u01/oracle/10g/oraInventory/logs/installActions2012-09-29_11-03-53AM.log' for details.
Exception Severity: 1

解决办法是安装缺少的包
yum install compat-libstdc++-33
-The End-

相关推荐