Oracle 12c installation will fail: Error in invoking target ‘irman ioracle’

During the installation of Oracle 12c (12.1) I encountered the following error:

Error in invoking target 'irman ioracle' of makefile
    '/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk'.
See '/u01/app/oraInventory/logs/installActions2015(...).log' for details.

Inside the logfile the following error is encountered:

INFO: collect2: ld terminated with signal 9 [Killed]

According to metalink doc 2040972.1 this is due to less memory available (in a VM environment).

Need more memory

I indeed had ‘not much’ memory (2GB) for my VM in Oracle VM and after increasing the memory to 3GB and relinking, irman and ioracle where build!
Relink with:

cd $ORACLE_HOME/rdbms/admin
/usr/bin/make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk ioracle
/usr/bin/make -f $ORACLE_HOME/rdbms/lib/ins_rdbms.mk irman

Happy relinking!

Tagged , , , , . Bookmark the permalink.

3 Responses to Oracle 12c installation will fail: Error in invoking target ‘irman ioracle’

  1. Leonardo Araujo says:

    Hello, I am instlling grid control and I am getting this error.
    I passed in all requirements.
    VM has 9GB of memory
    SWAP has 9GB

    INFO:
    /usr/bin/ld:/u01/app/12.2.0/V840012-01-GRID-STRUCTURE/lib//libodm12.so: file format not recognized; treating as linker script
    /usr/bin/ld:/u01/app/12.2.0/V840012-01-GRID-STRUCTURE/lib//libodm12.so:1: syntax error

    INFO:
    make: *** [/u01/app/12.2.0/V840012-01-GRID-STRUCTURE/rdbms/lib/oracle] Error 1

    INFO: End output from spawned process.
    INFO: ———————————-
    INFO: Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target ‘irman ioracle’ of makefile ‘/u01/app/12.2.0/V840012-01-GRID-STRUCTURE/rdbms/lib/ins_rdbms.mk’. See ‘/tmp/GridSetupActions2018-03-29_09-23-56PM/gridSetupActions2018-03-29_09-23-56PM.log’ for details.
    Exception Severity: 1

    Helps!

    • Leonardo Araujo says:

      Heeey, I think I found my problem.
      I saw in another forum


      Thanks Salman for the reply. It was in the end a dumb error that i made .

      I had unzipped the oracle grid software on my host machine first (windows) (hoping to save the processing time on the virtual machine) instead of doing it on the VM . In that process, some of the symbolic links that should have been maintained was lost and hence during the linking process i got that error. Its interesting however that there were other symbolic links which was indeed maintained and ran fine during the linking process.

      Once i unzipped the files as the grid user inside the VM, the above error went away and i was able to install the grid software successfully.

      Thanks again for your response on this.

      Anyway you were part of this process. Thanks

Leave a Reply

Your email address will not be published.