I will share the solution of the following error received during the installation of Oracle 11gR2 Software.
Error :
1 2 3  | Error in invoking target ‘agent nmhs’ of makefile  ‘/u01/app/oracle/product/11.0.0/db1/sysman/lib/ins_emagent.mk’. See  ‘/u01/app/oraInventory/logs/installActions2021–08–12_04–21–06PM.log’ for details.  | 

Solution :
Enter $ORACLE_HOME/sysman/lib/ins_emagent.mk.
1  | $ vi $ORACLE_HOME/sysman/lib/ins_emagent.mk  | 
Search the $(MK_EMAGENT_NMECTL) line and change it as follows.
1 2  | #$(MK_EMAGENT_NMECTL) $(MK_EMAGENT_NMECTL) -lnnz11  | 
 ![]()
Database Tutorials MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux 