My Oracle Support Banner

Oracle Identity Management Installer Produces Makefile Errors Using (Doc ID 2127767.1)

Last updated on FEBRUARY 08, 2019

Applies to:

Oracle IDM Tools - Version to
Oracle Internet Directory - Version to [Release 11g]
Oracle Fusion Middleware - Version to [Release Oracle11g]
Information in this document applies to any platform.


When installing Identity Management (IDM) 11g products (OID, OIM, etc) on a new OL/RH 7 server, the Installer is raising the following error:

[2016-04-14T10:32:03.478-04:00] [OUI] [NOTIFICATION] [] [OUI] [tid: <TID>] [ecid: <ECID>] Exception thrown from action: make[[
Exception Name: MakefileException
Exception String: Error in invoking target 'all' of makefile '$ORACLE_HOME/lib/'. See '$INVENTORY_LOC/logs/install2016-04-14_10-16-44AM.log' for details.
Exception Severity: 1
[2016-04-14T11:03:12.625-04:00] [OUI] [NOTIFICATION] [] [OUI] [tid: <TID>] [ecid: <ECID>] Error in invoking target 'all' of makefile '$ORACLE_HOME/lib/'. See '$INVENTORY_LOC/logs/install2016-04-14_10-16-44AM.log' for details.
[2016-04-14T11:03:12.634-04:00] [OUI] [ERROR] [] [OUI] [tid: <TID>] [ecid: <ECID>] oracle.sysman.oii.oiif.oiifb.OiifbEndIterateException: Error in invoking target 'all' of makefile '$ORACLE_HOME/lib/'. See '$INVENTORY_LOC/logs/install2016-04-14_10-16-44AM.log' for details.[[
at oracle.sysman.oii.oiic.OiicInstallAPISession.doOperation(
at oracle.sysman.oii.oiic.OiicAPIInstaller.doOperation(


There should also be a make.log file and you want to find the first failing make command and manually execute, for example:

/usr/bin/make -f all

After running the above, the problem is with the component's (OID) script errors in the make.log:

gcc -o $MIDDLEWARE_HOME/Oracle_IDM1/bin/hasocket -L$MIDDLEWARE_HOME/Oracle_IDM1/lib/ -L$MIDDLEWARE_HOME/Oracle_IDM1/lib/ -L$MIDDLEWARE_HOME/Oracle_IDM1/lib/stubs/ $MIDDLEWARE_HOME/Oracle_IDM1/lib/s0hasocket.o $MIDDLEWARE_HOME/Oracle_IDM1/lib/ -ldl -L/usr/lib -lirc -lpthread -lrt
$MIDDLEWARE_HOME/Oracle_IDM1/lib/ undefined reference to 'memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status
make: *** [$MIDDLEWARE_HOME/Oracle_IDM1/bin/hasocket] Error 1




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.