本文共 778 字,大约阅读时间需要 2 分钟。
collect2: error: ld returned 1 exit statusINFO: make[1]: Leaving directory `/u01/app/oracle/product/11.2.0/db_1/sysman/lib'INFO: make[1]: *** [/u01/app/oracle/product/11.2.0/db_1/sysman/lib/emdctl] Error 1make: *** [emdctl] Error 2INFO: End output from spawned process.INFO: ----------------------------------INFO: Exception thrown from action: makeException Name: MakefileExceptionException String: Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk'. See '/u01/app/oraInventory/logs/installActions2017-09-07_04-31-33PM.log' for details.
解决方法:
在文件/u01/app/oracle/product/11.2.0/db_1/sysman/lib/ins_emagent.mk中找到$(MK_EMAGENT_NMECTL)并改为$(MK_EMAGENT_NMECTL) -lnnz11,重试即可出处:
转载于:https://blog.51cto.com/14298876/2399522