- Open a New Terminal Window
- Library Sim-Linking Needed at least for Ubuntu 12.10+ Based:
Thanks to HannHha
- The Login as oracle User:
- Execute Step-by-Step (Copy & Paste into Terminal):
Then Verify the Changes Made!
For the $ORACLE_HOME/sysman/lib/ins_emagent.mk File:Use Ctrl+w for Searching on nano.
Here Search for: “$(MK_EMAGENT_NMECTL)”
Eventually append the Needed -lnnz11Ctrl+x to Save & Exit.
Then Follow to Check/Amend the Files for the “-Wl,–no-as-needed” chunk insertion…
For the $ORACLE_HOME/bin/genorasdksh File:Search for: “$LD $LD_RUNTIME”
For $ORACLE_HOME/srvm/lib/env_srvm.mk File
If you Not Find the OCRLIBS_DEFAULT there then Instead Modify the $ORACLE_HOME/srvm/lib/ins_srvm.mk (It depends from the Oracle 11g R2 DB Update Release!)Search for: “$(GETCRSHOME_OBJ1) $(OCRLIBS_DEFAULT)”
For the $ORACLE_HOME/network/lib/env_network.mk File:
Search for: “TNSLSNR_LINKLINE=$(LINK) $(TNSLSNR_OFILES)”
And Finally, for the $ORACLE_HOME/rdbms/lib/env_rdbms.mk File:
Search for: “ORACLE_LINKER”
- Click on Retry on Error Message
- Eventually to Solve Issue ‘all_no_orcl’ Look:
Troubleshooting Error in Invoking Target all_no_orcl of Makefile
Warning: on Ubuntu 14.04/14.10/15.04 If Do Not Works Check Logs and If You Find a Notice About ‘libstdc++.so.5: undefined memcpy@GLIBC_2.14’ then Ignore and then Click on Continue to Follow Up and Achieve the Installation!