Install Oracle 12.1.0.1 Error in invoking target ‘links proc gen_pcscfg procob’ of makefile …ins_precomp.mk

If you are installing 12.1.0.1 there are some problems. Oracle 12c (12.1.0.2) installs cleanly.

 

During the linking phase, you will see the following error.

Error in invoking target 'links proc gen_pcscfg procob' of makefile
'/u01/app/oracle/product/12.1.0.2/db_1/precomp/lib/ins_precomp.mk'.
See
'/u01/app/oraInventory/logs/installActions2014-04-26_08-07-04PM.log'
for details.

To fix it, do the following:

rm -rf $ORACLE_HOME/lib/stubs/*
cp $ORACLE_HOME/rdbms/lib/env_rdbms.mk $ORACLE_HOME/rdbms/lib/env_rdbms.mk.orig

Perform the following modifications to the “$ORACLE_HOME/rdbms/lib/env_rdbms.mk” file.

# Line 176
# FROM:
LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS)
# TO  :
LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS) -lons

# Line 279-280
# FROM:
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS)
LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS)
# TO  :
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS) -Wl,--no-as-needed
LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS) -Wl,--no-as-needed

# Line 3041-3042
# FROM:
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \
        $(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS)
# TO  :
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) \
        $(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS) -lnnz12

Click the “Retry” button.

 

Advertisement

About Mariami Kupatadze
Oracle Certified Master Linkedin: https://www.linkedin.com/in/mariami-kupatadze-01074722/

6 Responses to Install Oracle 12.1.0.1 Error in invoking target ‘links proc gen_pcscfg procob’ of makefile …ins_precomp.mk

  1. Dan says:

    Hello Mar , thanks for the instructions ,but when i tried to continue didnt work ,i had read in orher places that i need to remove some cobol parameters ,excuse me maybe do you have some steps to change the cobol parameters ,thanks

    • Hello,

      Could you please paste your error here ?

      And also what is the output of the following:

      # cat ../29314339/etc/config/actions.xml | egrep “procob|proc”

      • Dan says:

        i dont have still created the config directoy

        /etc$ cat ../29314339/etc/config/actions.xml | egrep “procob|proc”
        cat: ../29314339/etc/config/actions.xml: No such file or directory
        proc”: command not found

        i did some additional change in the env_rdbms.mk but doesn’t work

        LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS) -lons
        LINKSHCORETTLIBS=$(LLIBCLNTSHCORE) $(ORACLETTLIBS) $(LINKLDLIBS)
        COBTTLIBS=$(ORACLETTLIBS) -Wl,–no-as-needed $(COBLDLIBS) -Wl,–no-as-needed

        and the log file is the next

        INFO:
        /u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/ins_precomp.mk:118: recipe for target ‘/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/proc’ failed
        make[1]: Leaving directory ‘/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib’

        INFO:
        make[1]: *** [/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/proc] Error 1

        INFO:
        /u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/ins_precomp.mk:28: recipe for target ‘proc’ failed

        INFO:
        make: *** [proc] Error 2

        INFO: End output from spawned process.
        INFO: ———————————-
        INFO: Exception thrown from action: make
        Exception Name: MakefileException
        Exception String: Error in invoking target ‘links proc gen_pcscfg procob’ of makefile ‘/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/ins_precomp.mk’. See ‘/u01/app/oraInventory/logs/installActions2019-07-28_01-56-09AM.log’ for details.
        Exception Severity: 1

  2. Dan says:

    Hello Miss Mariami ,thanks
    this is the pop up messages
    Error in invoking target ‘links proc gen_pcscfg procob’ of makefile ‘/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/ins_precomp.mk

    with the command you shared
    /etc$ cd /etc/config/actions.xml | egrep “procob|proc”
    -su: cd: /etc/config/actions.xml: No such file or directory

    i dont have still created the /config/ with the xml file

    ////////////////////////////// log file

    INFO:
    make[1]: *** [/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/proc] Error 1

    INFO:
    /u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/ins_precomp.mk:118: recipe for target ‘/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/proc’ failed
    make[1]: Leaving directory ‘/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib’

    INFO:
    /u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/ins_precomp.mk:28: recipe for target ‘proc’ failed

    INFO:
    make: *** [proc] Error 2

    INFO: End output from spawned process.
    INFO: ———————————-
    INFO: Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target ‘links proc gen_pcscfg procob’ of makefile ‘/u01/app/oracle/product/12.2.0/dbhome_1/precomp/lib/ins_precomp.mk’. See ‘/u01/app/oraInventory/logs/installActions2019-07-28_01-56-09AM.log’ for details.
    Exception Severity:

  3. Hello,

    etc/config/actions.xml is located under patch folder. What is patch number and where is it located?

    actions.xml is under /etc/config/actions.xml

  4. Dan says:

    Hello Mariami Thanks again

    well , good question about the patch where can i download it ?? or how should this appear ? i only did the download of database and some dbpk package

    do you mean the grid :

    Oracle Database 12c Release 2 Grid Infrastructure (12.2.0.1.0) for Linux x86-64
    Download linuxx64_12201_grid_home.zip (2,994,687,209 bytes) (cksum – 1523222538)

    Contains the Grid Infrastructure Software including Oracle Clusterware, Automated Storage Management (ASM), and ASM Cluster File System. Download and install prior to installing Oracle Real Application Clusters, Oracle Real Application Clusters One Node, or other application software in a Grid Environment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: