Oracle 12C Error in invoking target links makefile Eror Message on linux 7.x

Hi Everyone.
If you are installing DB version 12.1.0.* there are some problems. Oracle 12c (12.1.0.*) installs cleanly.
Database version : 12.1.0.*
Operating Systems Version : Oracle Linux 7.x

You will see the following error.

<pre>

[oracle@erman02]’/u01/app/oracle/product/12.1.0.2/db_1/precomp/lib/ins_precomp.mk’.
[oracle@erman02]’/u01/app/oraInventory/logs/installActions2017-06-05_06-07-04PM.log’

</pre>
for details.
To fix it, do the following:

<pre>

[oracle@erman02] rm -rf $ORACLE_HOME/lib/stubs/*
[oracle@erman02]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.

[oracle@erman02] vi $ORACLE_HOME/rdbms/lib/env_rdbms.mk
# 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

</pre>
Have a good day.

Hits: 22

Leave a Reply

Your email address will not be published. Required fields are marked *