Solve the Error in invoking target all no orcl of makefile in Oracle DB 12c in Ubuntu 15.04/14.04

Channel:
Subscribers:
25,100
Published on ● Video Link: https://www.youtube.com/watch?v=z7HQbO7Lpqg



Category:
Tutorial
Duration: 8:32
11,798 views
13


Hello Everyone,

In this tutorial,

Watch the Vidoe on How to Install & Configure Oracle Database 12c Enterprise Edition in Ubuntu 14.10
http://youtu.be/XL5M1IrkCa4


Remove this folder:
sudo rm -rf /u01/app/oracle/product/12.1.0/dbhome_1/lib/stubs

We will correct a lot of lib linking. Let’s create the necessary symlinks:
sudo su
sudo ln -s /u01/app/oracle/product/12.1.0/dbhome_1/lib/libclntshcore.so.12.1 /usr/lib/
sudo ln -s /u01/app/oracle/product/12.1.0/dbhome_1/lib/libclntsh.so.12.1 /usr/lib/
sudo ln -s /u01/app/oracle/product/12.1.0/dbhome_1/lib/libocrutl12.so /usr/lib
sudo ldconfig
exit

Now, we have to edit some shell scripts. Let’s begin with env_rdbms.mk located in
sudo gedit /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk.

# Note the -lons added to the last line of block:
RMAN_LINKLINE=$(LINK) $(OPT) $(S0MAIN) $(SSKRMED) $(SKRMPT) \
$(LLIBDBTOOLS) $(LLIBCLIENT) $(LLIBSQL) $(LLIBPLSQL) \
$(LLIBSNLSRTL) $(LLIBUNLSRTL) $(LLIBNLSRTL) \
$(LLIBSLAX) $(LLIBPLSQL) $(LIBPLCN) $(LINKTTLIBS) -lons

# Note the -Wl,--no-as-needed added after each $(OPT):
EXTPROC_LINKLINE=$(LINK) $(OPT) -Wl,--no-as-needed $(EXTPMAI) $(PROD_EXTPROC_OPT) \
$(HSALIB_SUBSET1) $(HSALIB_SUBSET2)

HSDEPXA_LINKLINE=$(LINK) $(OPT) -Wl,--no-as-needed $(HSDEPMAI) $(HSALIB_SUBSET1)
$(HS_DEP_DRIVER) $(RDBMSLIB)$(XAD_OFF) \
$(HSALIB_SUBSET2)

HSOTS_LINKLINE=$(LINK) $(OPT) -Wl,--no-as-needed $(HSOTSMAI) $(HSALIB_SUBSET1) \
$(HS_OTS_DRIVER) $(HS_XASWITCH_ORA) $(RDBMSLIB)$(XAD_OFF) \
$(HSALIB_SUBSET2)

# Note the -Wl,--no-as-needed added after each $(S0MAIN):
KFOD_LINKLINE=$(LINK) $(S0MAIN) -Wl,--no-as-needed $(SSKFODED) $(SKFODPT) $(KFODOBJ) \
$(LIBGENERIC) $(LLIBDBTOOLS) \
$(LIBGENERIC) $(LLIBSAGE) $(LLIBSKGXP) $(LIBCORE) \
$(CSSCLNTLIBS_SERVER) $(LLIBASMCLNT) $(LINKTTLIBS)

AMDU_LINKLINE=$(LINK) $(S0MAIN) -Wl,--no-as-needed $(SSKFMUED) $(SKFMUPT) \
$(LLIBDBTOOLS) $(LLIBCORE) $(LLIBGENERIC) $(LLIBUNLSRTL) \
$(LLIBNLSRTL) $(LLIBCORE) $(LLIBSAGE) $(LLIBSKGXP) \
$(LLIBNLSRTL) $(CSSCLNTLIBS_SERVER) $(LLIBASMCLNT) $(LINKTTLIBS)

KFED_LINKLINE=$(LINK) $(S0MAIN) -Wl,--no-as-needed $(SSKFEDED) $(SKFEDPT) \
$(LLIBDBTOOLS) $(LLIBSAGE) \
$(LLIBSKGXP) $(CSSCLNTLIBS_SERVER) $(LLIBASMCLNT) $(LINKTTLIBS)

# Note the -Wl,--no-as-needed added after $(ORACLE_LINKER):
ORACLE_LINKLINE=$(ORACLE_LINKER) -Wl,--no-as-needed $(PL_FLAGS) $(ORAMAI) $(SSORED) $(TTCSOI) \
$(ORACLE_KERNEL_LIBS) $(LINKLDLIBS)

It’s time to edit ins_rdbms.mk located in
sudo gedit /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk

# Note the additional linking at the end of each block (-lnnz12, -lagtsh, -lons):
$(ORAPWD) : $(ALWAYS) $(ORAPWD_DEPS)
$(SILENT)$(ECHO)
$(SILENT)$(ECHO) " - Linking password utility (orapwd)"
$(RMF) $@
$(ORAPWD_LINKLINE) -lnnz12

$(TG4PWD) : $(ALWAYS) $(TG4PWD_DEPS)
$(SILENT)$(ECHO)
$(SILENT)$(ECHO) " - Linking $(TG4DG4)pwd utility"
$(RMF) $@
$(TG4PWD_LINKLINE) -lnnz12

$(HSOTS) : $(ALWAYS) $(HSOTS_DEPS)
$(SILENT)$(ECHO)
$(SILENT)$(ECHO) " - Linking HS OTS agent"
$(RMF) $@
$(HSOTS_LINKLINE) -lagtsh

$(EXTPROC): $(ALWAYS) $(EXTPROC_DEPS)
$(SILENT)$(ECHO)
$(SILENT)$(ECHO) "Linking external procedure agent ($@)"
$(RMF) $@

$(EXTPROC_LINKLINE) -lagtsh
$(PLSHPROF) : $(ALWAYS) $(PLSHPROF_DEPS)
$(SILENT)$(ECHO)
$(SILENT)$(ECHO) " - Linking hierarchical profiler utility (plshprof)"
$(RMF) $@
$(PLSHPROF_LINKLINE) -lons

At last, edit ins_net_server.mk located in
sudo gedit /u01/app/oracle/product/12.1.0/dbhome_1/network/lib/ins_net_server.mk
# Note the additional linking at the end of the block (-lnnz12, -lons):
tnslsnr: $(S0NSGL) $(SNSGLP) $(NSGLPNP)
$(SILENT)$(ECHO) " - Linking $(TNSLSNR)"
$(RMF) $@
$(TNSLSNR_LINKLINE) -lnnz12, -lons

After all additions, Press the Retry Button.........................



For DISPLAY Problem.....
Could not execute auto check for display colors using command /usr/X11R6/bin/xdpyinfo

Cause: Either the DISPLAY variable is not set, or the user running the
installation is not authorized to open an X window. This can occur if you run the installation from a remote terminal, or if you use an su command to change from a user that is authorized to open an X window to a user account that is not authorized to open an X window on the display,
such as a lower-privileged user opening windows on the root user's
console display.

Action: Run the command echo $DISPLAY to ensure
that the variable is set to the correct visual or to the correct host.
If the display variable is set correctly then either ensure that you are logged in as the user authorized to open an X window, or run the
command xhost + to allow any user to open an X window.

If you are logged in locally on the server console as root, and used the su -
command to change to the Oracle Grid Infrastructure installation owner,
then log out of the server, and log back in as the grid installation
owner.


Comment,
Like and
Share us and help us to spread.

Thanking You
Hope U Like it........




Other Videos By Cloud Network


2015-02-24How to Install & Use Linux Malware Detect LMD with ClamAV as Antivirus Engine in Fedora 22/21/20
2015-02-23How to Install OwnCloud 8 – Create Personal/Private Cloud Storage in Ubuntu 16.04,15.04,14.04
2015-02-21How to Install Ubuntu Desktop 14.04.2 LTS in Virtual Box With Full Screen Resolution
2015-02-21How to Install BODHI LINUX 3.0.0 in Virtual Box With Full Screen Resolutions
2015-02-19User Administration Commands for Beginners Guide in Redhat Linux, Ubuntu, Fedora(Terminal) and Lab 4
2015-02-19Beginner's Vi(Visual Interface) Editor Commands Guide in Redhat Linux, Fedora 21 Lab - 2
2015-02-18Build a New Website from Google Boggler with New Template & Completed Feature with Editing
2015-02-1725 Some Basic Commands for Beginners Guide in Redhat Linux, Ubuntu, Fedora (Terminal) - Lab 1
2015-02-15How to Install Oracle SQL Developer Data Modeler 4 in Windows 7/8/8.1 & Windows 10
2015-02-15How to Install Oracle Enterprise Pack for Eclipse 12.1 in Windows 7 - 64bit
2015-02-12Solve the Error in invoking target all no orcl of makefile in Oracle DB 12c in Ubuntu 15.04/14.04
2015-02-12How to Install and Configure of Oracle Database 12c on Ubuntu 18.04 LTS
2015-02-12Final Install Oracle 12c Database
2015-02-11How to Install Oracle Database 12c on Debian 8, Linux Mint 17.2 and Ubuntu Desktop 16.04,15.04,14.04
2015-02-08How to Install Oracle SQL Developer 4 on on RHEL/CentOS 6/7 and Fedora 23/21/20 - Desktop
2015-02-08How to Install Mac OS X Hackintosh Yosemite Zone on Virtual Box with AMD and Intel Support 10.10.2
2015-02-07How to Install & Uninstall Oracle SQL Developer 4 on Debian 8, Linux Mint 17.2 and Ubuntu 15.04
2015-02-02Watch: 7 Tips to Keep Your WhatsApp Chats Private and Safe
2015-02-02How to Install Windows 10 Technical Preview on Virtual Box
2015-01-27Install Mac OS X Mavericks Zone Hackintosh with AMD & Intel Version 10.9 on Vmware Workstation 11
2015-01-16How to Install & Configure Wine 1.7.34 on RHEL/CentOS 6/7 and Fedora Workstation 24/23/22



Tags:
Windows
Oracle Corporation (Venture Funded Company)
Oracle Database (Software)
Database (Software Genre)
Installation (Award-Winning Work)
Ubuntu (Operating System)
Edition
Computer
Tutorial
Software (album)
Linux
Desktop
How-to (Website Category)
Basic