Some notes about various 11g-isms which will hopefully keep you out of trouble.
You’d think installing 126.96.36.199, which we’ve all done a thousand times, would be a stroll in the park, right? Wrong! On Oracle Linux 7 you will run into some gotchas. Fortunately, the following will speed you on your way to a successful installation.
The installer pre-req checks fail for a number of missing packages:
Run these yum commands to install what you need:
[root@orasvr01 ~]# yum install gcc [root@orasvr01 ~]# yum install gcc-c++ [root@orasvr01 ~]# yum install elfutils-libelf-devel
This still leaves one package which fails the pre-req check, pdksh-5.2.14. This is caused by bug #19947777, but can safely be ignored. So either click the Ignore All checkbox and let the installer continue or run the installer again using this command (assuming you have fixed the other pre-req check failures):
[oracle@orasvr01 database]$ ./runInstaller –ignorePrereq
At around 86% complete, the installer throw another error. You’ll see this pop up:
The installer log file should contain this text at the of the file:
/usr/bin/ld: warning: -z nolazyload ignored. /u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib//libnmectl.a(nmectlt.o): In function
nmectlt_genSudoProps': nmectlt.c:(.text+0x76): undefined reference toB_DestroyKeyObject' nmectlt.c:(.text+0x7f): undefined reference to
B_DestroyKeyObject' nmectlt.c:(.text+0x88): undefined reference toB_DestroyKeyObject' nmectlt.c:(.text+0x91): undefined reference to `B_DestroyKeyObject' collect2: error: ld returned 1 exit stat INFO: us make: *** [/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/emdctl] Error 1 INFO: make: Leaving directory `/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib' INFO: make: *** [emdctl] Error 2 INFO: End output from spawned process. INFO: ---------------------------------- INFO: Exception thrown from action: make Exception Name: MakefileException Exception String: Error in invoking target 'agent nmhs' of makefile '/u01/app/oracle/product/11.2.0/dbhome_1/sysman/lib/ins_emagent.mk'.
This is caused by bug #19692824. You can download and install the patch or safely ignore the error as per MOS Doc ID 1965691.1.