Troubleshooting Ubuntu 16.04 Xenial Oracle 12c Db Installation Guide
Hi! The Tutorial shows you Step-by-Step How to Solve the Oracle 12c Database Installation on Ubuntu 16.04 Xenial LTS Amd64 GNU/Linux.
-
Open a New Terminal Window.
(Press “Enter” to Execute Commands)
-
Solve: Error in invoking target “links proc gen_pcscfg procob” of makefile.
su oracle
rm -rf $ORACLE_HOME/lib/stubs/
nano $ORACLE_HOME/rdbms/lib/env_rdbms.mk
Ctrl+w to Search on nano Editor
Search for ‘LINKTTLIBS‘ and Change as:LINKTTLIBS=$(LLIBCLNTSH) $(ORACLETTLIBS) $(LINKLDLIBS) -lons
Then Search for ‘LINK=$(FORT‘ and Change in:
LINK=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS) $(COMPSOBJS) -Wl,--no-as-needed LINK32=$(FORT_CMD) $(PURECMDS) $(ORALD) $(LDFLAGS32) $(COMPSOBJS) -Wl,--no-as-needed
Again Search for ‘TG4PWD_LINKLINE‘ and Modify as:
TG4PWD_LINKLINE= $(LINK) $(OPT) $(TG4PWDMAI) $(LLIBTHREAD) $(LLIBCLNTSH) $(LINKLDLIBS) -lnnz12
Last Search for ‘RMAN_LINKLINE=‘ and Modify as:
RMAN_LINKLINE=$(LINK) $(OPT) $(S0MAIN) $(SSKRMED) $(SKRMPT) $(LLIBDBTOOLS) $(LLIBCLIENT) $(LLIBSQL) $(LLIBPLSQL) $(LLIBSNLSRTL) $(LLIBUNLSRTL) $(LLIBNLSRTL) $(LLIBSLAX) $(LLIBPLSQL) $(LIBPLCN) $(LINKTTLIBS) -lons
Ctrl+x to Save & Exit from nano :)
Thanks to gumpxClick on Retry.
-
To Solve the ins_net_server.mk File Issue.
nano $ORACLE_HOME/network/lib/ins_net_server.mk
Search for “TNSLSNR_LINKLINE” and Modify as:
$(TNSLSNR_LINKLINE) -lnnz12 -lons
Save
Then Click on Retry. -
Solving: “Error in ‘irman ioracle’ of Makefile”
Click on Retry.
-
Finally, If Still Not Solved Download Fix Script.