C/C++教程

error in invoking target 'agent nmhs' of make file ins_emagent.mk while installing Oracle

本文主要是介绍error in invoking target 'agent nmhs' of make file ins_emagent.mk while installing Oracle,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
To BottomTo Bottom

In this Document

  Symptoms
  Changes
  Cause
  Solution
  References

 

APPLIES TO:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Linux x86-64

SYMPTOMS

When installing Oracle database 11.2.0.4 software on some Linux x86-64 releases, such as SUSE12SP1, SUSE12SP2 or RHEL7, the below error is reported during link stage:

Error in invoking target 'agent nmhs' of make file /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk

$ORACLE_HOME/install/make.log shows below error:

collect2: error: ld returned 1 exit status
/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk:176: recipe for target '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl' failed
make[1]: Leaving directory '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib'
/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk:52: recipe for target 'emdctl' failed
make[1]: *** [/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl] Error 1
make: *** [emdctl] Error 2

 

CHANGES

 This is a new oracle 11.2.0.4 installation on Linux

CAUSE

Link error on "ins_emagent.mk".

SOLUTION

Edit $ORACLE_HOME/sysman/lib/ins_emagent.mk, search for the line

$(MK_EMAGENT_NMECTL)

Then replace the line with

$(MK_EMAGENT_NMECTL) -lnnz11

Then click “Retry” button to continue.
 

REFERENCES

这篇关于error in invoking target 'agent nmhs' of make file ins_emagent.mk while installing Oracle的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!