2 Replies Latest reply: Jul 31, 2013 3:06 AM by jaag RSS

    Error in invoking target 'client_sharedlib' of makefile

    jaag

      Hello DBA's

       

      I was installing Oracle 11.2.0.1 client on Ubuntu 12.04 (i know Ubuntu was not supported by oracle)

      I followed the instructions from here

       

      while installation is processing i got the following error.

       

      Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/app/oracle/product/11.2.0/client_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oraInventory/logs/installActions2013-07-29_11-08-38AM.log' for details.

       

      Please help me to solve this issue

       

      More info

       

      /temp$ uname -a

      Linux sxa7 3.5.0-36-generic #57~precise1-Ubuntu SMP Thu Jun 20 18:21:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

       

      /temp$ tail -50 /u01/app/oraInventory/logs/installActions2013-07-29_11-08-38AM.log

                /usr/bin/ar rv /u01/app/oracle/product/11.2.0/client_1/lib/libn11.a /u01/app/oracle/product/11.2.0/client_1/lib/nnfgt.o ; fi)

       

       

      INFO: (if [ "compile" = "binary" ] ; then \

                /u01/app/oracle/product/11.2.0/client_1/bin/gennfgt > nnfgt.c

                TARGET_BINARY_INTERFACE=

                export TARGET_BINARY_INTERFACE

                gcc -m64  -c nnfgt.c

                -rm -f /u01/app/oracle/product/11.2.0/client_1/lib/nnfgt.o

                -mv nnfgt.o /u01/app/oracle/product/11.2.0/client_1/lib/

                /usr/bin/ar rv /u01/app/oracle/product/11.2.0/client_1/lib/libn11.a /u01/app/oracle/product/11.2.0/client_1/lib/nnfgt.o ; fi)

       

       

      INFO: End output from spawned process.

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

      INFO: Calling Action unixActions10.2.0.3.0  make

              registerOnly = false

              installMakePath = /usr/bin/make

              installMakeFileName = /u01/app/oracle/product/11.2.0/client_1/rdbms/lib/ins_rdbms.mk

              installTarget = client_sharedlib

              undoMakeFileName =

              installArguments = ORACLE_HOME=/u01/app/oracle/product/11.2.0/client_1

              logFile = /u01/app/oracle/product/11.2.0/client_1/install/make.log

              undoTarget =

              progMsg = Building Client Shared Libraries

       

       

      INFO: Building Client Shared Libraries

      INFO: Building Client Shared Libraries

      INFO: The output of this make operation is also available at: '/u01/app/oracle/product/11.2.0/client_1/install/make.log'

      INFO:

       

       

      INFO: Start output from spawned process:

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

      INFO:

       

       

      INFO: /u01/app/oracle/product/11.2.0/client_1/bin/genclntsh

       

       

      INFO: /usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a inside

       

       

      INFO: collect2:

      INFO: ld returned 1 exit status

       

       

      INFO: genclntsh: Failed to link libclntsh.so.11.1

       

       

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

       

       

      INFO: End output from spawned process.

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

      INFO: Exception thrown from action: make

      Exception Name: MakefileException

      Exception String: Error in invoking target 'client_sharedlib' of makefile '/u01/app/oracle/product/11.2.0/client_1/rdbms/lib/ins_rdbms.mk'. See '/u01/app/oraInventory/logs/installActions2013-07-29_11-08-38AM.log' for details.

      Exception Severity: 1