2 Replies Latest reply on Nov 30, 2014 9:51 PM by gpl_gmail

    Loading Oracle 11g R2 on Oracle Linux 7 problems


      This is driving me crazy!  I'm using VMPlayer (6.0.4 build-2249910) to load Oracle 7 and having no problems at all.  However, when I install Oracle 11g R2, that's when I run into problems (just loading the software; not creating a DB at this time).  First let me say, I do follow some processes that I've found on the internet many times.  There are slight differences in some of them, but essentially I used the website below to install the Oracle 11gR2 on Oracle Linux 7:

      ORACLE-BASE - Oracle Database 11g Release 2 (11.2) Installation On Oracle Linux 7 (OL7)


      When running through the install, I first run into the ctx error:


      I could find anything on this, so I continued through this.  More on this later.....


      The next error I get is:


      This second error was easy to take care of by the following:

      During the link phase you will encounter an error invoking the "ins_emagent.mk" file. To fix this, edit the "$ORACLE_HOME/sysman/lib/ins_emagent.mk", doing a search and replace for the line shown below.



      TO  :

      $(MK_EMAGENT_NMECTL) -lnnz11

      Click the "Retry" button.


      Now took care of the emagent issue.


      Regarding the CTX issue, I can't see to find anything on this at all!  I looked into the log file and found the following detail:


      INFO: mv -f /u01/app/oracle/product/11.2.0/bin/ctxlc /u01/app/oracle/product/11.2.0/bin/ctxlcO

      INFO: mv ctxlc /u01/app/oracle/product/11.2.0/bin/ctxlc

      INFO: chmod 751 /u01/app/oracle/product/11.2.0/bin/ctxlc

      INFO: gcc -o ctxhx -m64 -L/u01/app/oracle/product/11.2.0/ctx/lib/ -L/u01/app/oracle/product/11.2.0/lib/ -L/u01/app/oracle/product/11.2.0/lib/stubs/  /u01/app/oracle/product/11.2.0/ctx/lib/ctxhx.o -L/u01/app/oracle/product/11.2.0/ctx/lib/ -lm -lsc_fa -lsc_ex -lsc_da -lsc_ca -lz  -lctxhx -Wl,-rpath,/u01/app/oracle/product/11.2.0/ctx/lib -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11  `cat /u01/app/oracle/product/11.2.0/lib/sysliblist

      INFO: `

      INFO: /lib64/libstdc++.so.5: undefined reference to `memcpy@GLIBC_2.14'

      collect2: error: ld returned 1 exit status

      INFO: make: *** [ctxhx] Error 1

      INFO: End output from spawned process.

      INFO: ----------------------------------

      INFO: Exception thrown from action: make

      Exception Name: MakefileException

      Exception String: Error in invoking target 'install' of makefile '/u01/app/oracle/product/11.2.0/ctx/lib/ins_ctx.mk'. See '/u01/app/oraInventory/logs/installActions2014-11-28_12-45-46PM.log' for details.

      Exception Severity: 1


      It appears to be hung up on the reference to "memcpy@GLIBC_2.14".  I found some web references on this, but I don't think they apply since the sites are talking about other Linux distributions.


      What bugs me the most about this, is I'm using everything that is Oracle (except VMPlayer), but I'm getting errors that I don't think should be happening since it's nothing but Oracle!


      Is there something I can add to the "gcc" command or the make file that will get this to work?


      btw: I'm thinking that I will not be using CTX with my DB, so will I get in trouble if I create a database with this CTX error?


      Thanks in advance!