I am having problems in installing Oracle 11g R2 to Centos 7.4. Afaik this install should be supported but it is failing. I have found the reason but cannot fix this. So please help me.
Problem is this "Error in invoking target 'install' of makefile '/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'."
Log files tells me "INFO: /usr/lib64/libstdc++.so.5: undefined reference to `memcpy@GLIBC_2.14'". I have googled around trying to find fix for this. Have checked that I have all the needed packages installed but still getting this.
Any ideas how to fix this and continue with the install?
Oracle 11g R2 install to Centos 7.4
Re: Oracle 11g R2 install to Centos 7.4
You probably don't have /usr/lib64/libstdc++.so.5 at all. See if yum install compat-libstdc++-33 helps.
Re: Oracle 11g R2 install to Centos 7.4
I was able to pass it by changing few lines in file "ins_ctx.mk"
ctxhx: $(CTXHXOBJ)
$(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK)
To:
ctxhx: $(CTXHXOBJ)
-static $(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK) /usr/lib/gcc/x86_64-redhat-linux/4.8.2/libstdc++.a
However, I am not sure if these were correct lines. Currently I am waiting for database creation assistant to finish its job which seems to be taking quite some time.
ctxhx: $(CTXHXOBJ)
$(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK)
To:
ctxhx: $(CTXHXOBJ)
-static $(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK) /usr/lib/gcc/x86_64-redhat-linux/4.8.2/libstdc++.a
However, I am not sure if these were correct lines. Currently I am waiting for database creation assistant to finish its job which seems to be taking quite some time.
Re: Oracle 11g R2 install to Centos 7.4
I have following packages installed:avij wrote:You probably don't have /usr/lib64/libstdc++.so.5 at all. See if yum install compat-libstdc++-33 helps.
libstdc++-devel-4.8.5-16.el7_4.1.i686
libstdc++-devel-4.8.5-16.el7_4.1.x86_64
libstdc++-4.8.5-16.el7_4.1.i686
libstdc++-4.8.5-16.el7_4.1.x86_64
libstdc++-static-4.8.5-16.el7_4.1.x86_64
compat-libstdc++-33-3.2.3-72.el7.i686
compat-libstdc++-33-3.2.3-72.el7.x86_64
Re: Oracle 11g R2 install to Centos 7.4
Apparently that change and this:
Fixed my problems. Oracle installation just completed.I additionally had to patch the the ins_emagent.mk to link to the libnnz11 library:
vi /u01/app/oracle/product/11.2.0/dbhome_2/sysman/lib/ins_emagent.mk
Search for the line
$(MK_EMAGENT_NMECTL)
Change it to:
$(MK_EMAGENT_NMECTL) -lnnz11