【发布时间】:2017-10-17 15:49:26
【问题描述】:
您好,请帮我解决这个问题,谢谢
我在 CENTOS 7 上安装 oracle 11g 时遇到了这个错误
“调用makefile的目标'client_sharedlib'时出错 '/u01/app/oracle/product/11.2.0/db_1/rdbms/lib/ins_rdbms.mk'。看 '/u01/app/oraInventory/logs/installActions2017-10-17_03-27-55PM.log' 了解详情。”
这是我的日志文件:
INFO: /u01/app/oracle/product/11.2.0/db_1/bin/genclntsh
INFO: /bin/ld: cannot find -lstdc++_nonshared
INFO: collect2: error: ld returned 1 exit status
INFO: genclntsh: Failed to link libclntsh.so.11.1
INFO: make: *** [client_sharedlib] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/app/oracle/product/11.2.0/db_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oraInventory/logs/installActions2017-10-17_03-27-55PM.log' for details.
Exception Severity: 1
【问题讨论】:
-
ORACLE_HOME设置正确吗?