This discussion is archived
1 2 Previous Next 20 Replies Latest reply: Jul 30, 2009 12:43 AM by Abhishek_H Go to original post RSS
  • 15. Re: Error in invoking target 'client_sharedlib' of makefile
    502745 Newbie
    Currently Being Moderated
    I cannot install no version and I have problems with the famous library. Can you help me to install DB 11g on RH 4 64 bits?

    On Oracle Enterprise Linux 5 x86, 32-bits CPU, 32-bits DB 11g, worked.
    But on RH Enterprise Linux 4, 64-bits CPU, it is all badly (32-bits DB 11g and IA64 DB 11g).

    Tks, Gustavo.


    *******************************************************************************************
    Platform and CPU info
    ---------------------
    Itanium 64 bits with HP 32-bits emulator (ia32el service), which is necessary
    for Oracle BI EE 10.1.3.3.0 (available 32-bits only, it's OK, without problems!)

    cat /etc/issue
    Red Hat Enterprise Linux AS release 4 (Nahant Update 4)

    uname -a
    Linux srvsag02 2.6.9-42.EL #1 SMP Wed Jul 12 23:25:09 EDT 2006 ia64 ia64 ia64 GNU/Linux

    cat /proc/cpuinfo
    processor : 0
    vendor : GenuineIntel
    arch : IA-64
    family : 32
    ...
    processor : 1
    vendor : GenuineIntel
    arch : IA-64
    family : 32
    ...
    processor : 2
    vendor : GenuineIntel
    arch : IA-64
    family : 32
    ...
    processor : 3
    vendor : GenuineIntel
    arch : IA-64
    family : 32
    ...

    *******************************************************************************************
    DB 11g R1 x86 32-bits
    ---------------------

    I'm trying to install DB 11g 32-bit version because I have 32-bit emulator, but it not linking

    tail make.log
    -------------
    ...
    /usr/bin/make -f ins_rdbms.mk client_sharedlib ORACLE_HOME=/oracle/u01/app/oracle/odb11gR1/111060/db_1//oracle/u01/app/oracle/odb11gR1/111060/db_1/bin/genclntsh
    /usr/bin/ld: skipping incompatible /oracle/u01/app/oracle/odb11gR1/111060/db_1/lib/libxml11.a when searching for -lxml11
    /usr/bin/ld: cannot find -lxml11
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.11.1
    make: *** [client_sharedlib] Error 1

    tail installActions2007-11-07_10-42-09PM.log
    --------------------------------------------
    INFO: Start output from spawned process:
    INFO: ----------------------------------
    INFO:

    INFO: /oracle/u01/app/oracle/odb11gR1/111060/db_1/bin/genclntsh

    INFO: /usr/bin/ld: skipping incompatible /oracle/u01/app/oracle/odb11gR1/111060/db_1/lib/libxml11.a when searching for -lxml11
    /usr/bin/ld: cannot find -lxml11
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.11.1
    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 '/oracle/u01/app/oracle/odb11gR1/111060/db_1/rdbms/lib/ins_rdbms.mk'. See '/oracle/u01/app/oraInventory/logs/installActions2007-11-07_10-42-09PM.log' for details.
    Exception Severity: 1

    *******************************************************************************************
    DB 11g R1 IA64
    --------------

    ./runInstaller
    ./runInstaller: line 124: /oracle/u01/DB11gR1IA64/database/install/.oui: cannot execute binary file
  • 16. Re: Error in invoking target 'client_sharedlib' of makefile
    466751 Oracle ACE
    Currently Being Moderated
    I google'd into it when I raised the same error on a 32 bit install on x64 bit Red Hat 4. It was my fault for using the wrong media - oops. However, I've a hunch that the missing library is:

    glibc-devel-2.3.4-2.41.i386.rpm

    That's because the 32 bit library is required in a x64 and 64 bit install of 11g. It's not listed on the requirements for the 11.1 Quick Installation Guide but shows as an error during package validation.

    Hope this helps somebody.
  • 17. Re: Error in invoking target 'client_sharedlib' of makefile
    671970 Newbie
    Currently Being Moderated
    I am 90% sure that you are trying to install Oracle 64-bit on 32-Bit OS or 32-Bit Oracle on 64-Bit OS, Check confirm that you are not doing this mistake.

    Thanks and Regards,
    Adnan
  • 18. Re: Error in invoking target 'client_sharedlib' of makefile
    678929 Newbie
    Currently Being Moderated
    I'm also getting this error. Can someone please tell me what I am doing wrong? Below is the make.log

    /usr/bin/make -f ins_precomp.mk links ORACLE_HOME=/u01/app/oracle/product/9.2.0
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f SQLCA.H)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f ORACA.H)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f SQLDA.H)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f SQLCA.COB)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f ORACA.COB)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f SQLCA.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f ORACA.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f BNDDSC.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; rm -f SELDSC.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s sqlca.h SQLCA.H)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s oraca.h ORACA.H)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s sqlda.h SQLDA.H)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s sqlca.cob SQLCA.COB)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s oraca.cob ORACA.COB)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s sqlca.for SQLCA.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s oraca.for ORACA.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s bnddsc.for BNDDSC.FOR)
    (cd /u01/app/oracle/product/9.2.0/precomp/public ; ln -s seldsc.for SELDSC.FOR)
    /usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/u01/app/oracle/product/9.2.0
    /usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/u01/app/oracle/product/9.2.0
    (if [ "compile" = "compile" ] ; then \
         /u01/app/oracle/product/9.2.0/bin/gennttab > ntcontab.c ;\
         /usr/bin/gcc -c ntcontab.c ;\
         rm -f /u01/app/oracle/product/9.2.0/lib/ntcontab.o ;\
         mv ntcontab.o /u01/app/oracle/product/9.2.0/lib/ ;\
    /usr/bin/ar rv /u01/app/oracle/product/9.2.0/lib/libn9.a /u01/app/oracle/product/9.2.0/lib/ntcontab.o ; fi)
    /usr/bin/gcc: line 22: /usr/bin/gcc32: No such file or directory
    /usr/bin/gcc: line 22: exec: /usr/bin/gcc32: cannot execute: No such file or directory
    mv: cannot stat `ntcontab.o': No such file or directory
    /usr/bin/ar: /u01/app/oracle/product/9.2.0/lib/ntcontab.o: No such file or directory
    make: *** [ntcontab.o] Error 1
    /usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/u01/app/oracle/product/9.2.0
    (if [ "compile" = "compile" ] ; then \
         /u01/app/oracle/product/9.2.0/bin/gennttab > ntcontab.c ;\
         /usr/bin/gcc -c ntcontab.c ;\
         rm -f /u01/app/oracle/product/9.2.0/lib/ntcontab.o ;\
         mv ntcontab.o /u01/app/oracle/product/9.2.0/lib/ ;\
    /usr/bin/ar rv /u01/app/oracle/product/9.2.0/lib/libn9.a /u01/app/oracle/product/9.2.0/lib/ntcontab.o ; fi)
    /usr/bin/gcc: line 22: /usr/bin/gcc32: No such file or directory
    /usr/bin/gcc: line 22: exec: /usr/bin/gcc32: cannot execute: No such file or directory
    mv: cannot stat `ntcontab.o': No such file or directory
    /usr/bin/ar: /u01/app/oracle/product/9.2.0/lib/ntcontab.o: No such file or directory
    make: *** [ntcontab.o] Error 1
    /usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/u01/app/oracle/product/9.2.0
    (if [ "compile" = "compile" ] ; then \
         /u01/app/oracle/product/9.2.0/bin/gennttab > ntcontab.c ;\
         /usr/bin/gcc -c ntcontab.c ;\
         rm -f /u01/app/oracle/product/9.2.0/lib/ntcontab.o ;\
         mv ntcontab.o /u01/app/oracle/product/9.2.0/lib/ ;\
    /usr/bin/ar rv /u01/app/oracle/product/9.2.0/lib/libn9.a /u01/app/oracle/product/9.2.0/lib/ntcontab.o ; fi)
    /usr/bin/gcc: line 22: /usr/bin/gcc32: No such file or directory
    /usr/bin/gcc: line 22: exec: /usr/bin/gcc32: cannot execute: No such file or directory
    mv: cannot stat `ntcontab.o': No such file or directory
    /usr/bin/ar: /u01/app/oracle/product/9.2.0/lib/ntcontab.o: No such file or directory
    make: *** [ntcontab.o] Error 1
  • 19. Re: Error in invoking target 'client_sharedlib' of makefile
    678929 Newbie
    Currently Being Moderated
    Ok, figured it out. Created a symbolic link to gcc in /usr/bin and installation completed.
  • 20. Re: Error in invoking target 'client_sharedlib' of makefile
    Abhishek_H Explorer
    Currently Being Moderated
    same Error.... and 13 similar errors after that.
    check out the log file:


    [oracle@in-mum-remdev2 install]$ tail -15 $ORACLE_HOME/install/make.log
    /usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
    /usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
    /usr/bin/ld: cannot find -lpthread
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    make: *** [client_sharedlib] Error 1
    /usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1//home/oracle/oracle/product/10.2.0/db_1/bin/genclntsh
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../libpthread.so when searching for -lpthread
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../libpthread.a when searching for -lpthread
    /usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
    /usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
    /usr/bin/ld: cannot find -lpthread
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    make: *** [client_sharedlib] Error 1

    [oracle@in-mum-remdev2 install]$ uname -a
    Linux in-mum-remdev2.corp.com 2.6.9-22.EL #1 Mon Sep 19 17:49:49 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux


    I am running 10gR2 x86-64 database on RedHat4 x86-64
1 2 Previous Next