1 2 Previous Next 20 Replies Latest reply: Jul 30, 2009 2:43 AM by Abhishek_H RSS

    Error in invoking target 'client_sharedlib' of makefile

    551271
      Hi ALL,
      I am trying to install oracle 10g in fc3 / Intel p4 2.8GH.The error message is "Error in invoking target 'client_sharedlib' of makefile '/home/oracle/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk'.Please help me in this issue.Thanks in advance
        • 1. Re: Error in invoking target 'client_sharedlib' of makefile
          Ivan Kartik
          1. Did you install all required packages listed in istallation prerequisites?
          2. Can you post output from following commands?:
          uname -a
          tail -15 $ORACLE_HOME/install/make.log
          • 2. Re: Error in invoking target 'client_sharedlib' of makefile
            548812
            I think you didn't set ORACLE_HOME correctly.
            Please execute : echo $ORACLE_HOME to show whether the result is /home/oracle/oracle/product/10.2.0/db_1 in your ENV.

            Message was edited by:
            user545809
            • 3. Re: Error in invoking target 'client_sharedlib' of makefile
              Ivan Kartik
              Please execute : echo $ORACLE_HOME to show whether the result is /home/oracle/oracle/product/10.2.0/db_1 in your ENV.
              Note the value of $ORACLE_HOME might be different of course.
              • 4. Re: Error in invoking target 'client_sharedlib' of makefile
                413157
                1. Install on FC3 is not certified supported. Only AS/ES versions and Oracle EL4.
                2. Review the $ORACLE_HOME/install/make.log to see what the exact error is that is occurring.
                Rgds,
                John Peeken
                Enterprise Linux Support
                • 5. Re: Error in invoking target 'client_sharedlib' of makefile
                  551271
                  Hi all,
                  The following is the details in /home/oracle/oracle/product/10.2.0/db_1/install/mak.log
                  ------------------------------------------------------------------------------------------------------------------------------------------
                  /usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1//usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1/rm -f ntcontab.*
                  (if [ "compile" = "compile" ] ; then \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennttab > ntcontab.c ;\
                  gcc -c ntcontab.c ;\
                  rm -f /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o ;\
                  mv ntcontab.o /home/oracle/oracle/product/10.2.0/db_1/lib/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o ; fi)
                  r - /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o
                  (if [ "compile" = "assemble" ] ; then \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennttab > ntcontab.s ;\
                  /usr/bin/as -o ntcontab.o ntcontab.s ;\
                  rm -f /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o ;\
                  mv ntcontab.o /home/oracle/oracle/product/10.2.0/db_1/lib/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o ; fi)
                  (if [ "compile" = "oratmp" ] ; then \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennttab > ntcontab.c ;\
                  /lib/idcpp ntcontab.c oratmp.c ;\
                  -i oratmp.c -o oratmp.s -f ntcontab.c ;\
                  /usr/bin/as -o ntcontab.o oratmp.s ;\
                  rm -f oratmp.c oratmp.s ;\
                  rm -f /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o ;\
                  mv ntcontab.o /home/oracle/oracle/product/10.2.0/db_1/lib/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o ; fi)
                  (if [ "compile" = "binary" ] ; then \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennttab > ntcontab.c ;\
                  TARGET_BINARY_INTERFACE= ;\
                  export TARGET_BINARY_INTERFACE ;\
                  gcc -c ntcontab.c ;\
                  -rm -f /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o ;\
                  -mv ntcontab.o /home/oracle/oracle/product/10.2.0/db_1/lib/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib/ntcontab.o ; fi)
                  /usr/bin/make -f ins_net_client.mk nnfgt.o ORACLE_HOME =/home/oracle/oracle/product/10.2.0/db_1/rm -f nnfgt.*
                  (if [ "compile" = "compile" ] ; then \
                  echo "Building 32bit version of nnfgt.o"; \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennfgt > nnfgt.c ;\
                  gcc -m32 -c nnfgt.c ;\
                  rm -f /home/oracle/oracle/product/10.2.0/db_1/lib32/nnfgt.o ;\
                  mv nnfgt.o /home/oracle/oracle/product/10.2.0/db_1/lib32/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib32/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib32/nnfgt.o ;\
                  echo "Building 64bit version of nnfgt.o"; \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennfgt > nnfgt.c ;\
                  gcc -c nnfgt.c ;\
                  rm -f /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o ;\
                  mv nnfgt.o /home/oracle/oracle/product/10.2.0/db_1/lib/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o ; fi)
                  Building 32bit version of nnfgt.o
                  r - /home/oracle/oracle/product/10.2.0/db_1/lib32/nnfgt.o
                  Building 64bit version of nnfgt.o
                  r - /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o
                  (if [ "compile" = "assemble" ] ; then \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennfgt > nnfgt.s ;\
                  /usr/bin/as -o nnfgt.o nnfgt.s ;\
                  rm -f /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o ;\
                  mv nnfgt.o /home/oracle/oracle/product/10.2.0/db_1/lib/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o ; fi)
                  (if [ "compile" = "oratmp" ] ; then \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennfgt > nnfgt.c ;\
                  /lib/idcpp nnfgt.c oratmp.c ;\
                  -i oratmp.c -o oratmp.s -f nnfgt.c ;\
                  /usr/bin/as -o nnfgt.o oratmp.s ;\
                  rm -f oratmp.c oratmp.s ;\
                  rm -f /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o ;\
                  mv nnfgt.o /home/oracle/oracle/product/10.2.0/db_1/lib/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o ; fi)
                  (if [ "compile" = "binary" ] ; then \
                  /home/oracle/oracle/product/10.2.0/db_1/bin/gennfgt > nnfgt.c ;\
                  TARGET_BINARY_INTERFACE= ;\
                  export TARGET_BINARY_INTERFACE ;\
                  gcc -c nnfgt.c ;\
                  -rm -f /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o ;\
                  -mv nnfgt.o /home/oracle/oracle/product/10.2.0/db_1/lib/ ;\
                  /usr/bin/ar rv /home/oracle/oracle/product/10.2.0/db_1/lib/libn10.a /home/oracle/oracle/product/10.2.0/db_1/lib/nnfgt.o ; fi)
                  /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
                  /home/oracle/oracle/product/10.2.0/db_1/rdbms/lib/kpudfo.o: file not recognized: File format not recognized
                  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
                  /home/oracle/oracle/product/10.2.0/db_1/rdbms/lib/kpudfo.o: file not recognized: File format not recognized
                  collect2: ld returned 1 exit status
                  genclntsh: Failed to link libclntsh.so.10.1
                  make: *** [client_sharedlib] Error 1
                  ----------------------------------------------------------------------------------------------------------------------------------------------
                  Please look in to this and help me.

                  Thanks in advance.
                  • 6. Re: Error in invoking target 'client_sharedlib' of makefile
                    413157
                    Per Metalink Note 340861.1 (written by yours truly) could you be installing x86 Oracle on an x86_64 server, which is not certified/supported?
                    Do 'uname -a' and see if it shows x86_64?
                    Then check in $ORACLE_HOME and see if you have both a lib and lib32 directories or just a lib directory.
                    If the result of uname -a shows x86_64 and there is only an $ORACLE_HOME/lib you are installing Oracle x86 on a Linux x86_64 box and that is not supported.
                    You will want to download and install the Oracle x86_64 for your server and it will install correctly. but hereagain on fc4 that is not supported.
                    Regards,
                    John Peeken
                    Enterprise Linux Support
                    • 7. Re: Error in invoking target 'client_sharedlib' of makefile
                      551271
                      Hi,
                      The output of uname -a is as followed:

                      Linux oracle.scintel.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/Linux

                      At "/home/oracle/oracle/product/10.2.0/db_1" ,i have "lib" and "lib32" folders.
                      • 8. Re: Error in invoking target 'client_sharedlib' of makefile
                        413157
                        BINGO!! You are installing Oracle RDBMS x86_64 on a Linux x86 box (straight to to the penalty box with you (lol))

                        You cannot install 64bit software on a 32bit Operating system.

                        You need to cleanup the $ORACLE_HOME and install the Linux x86 version of Oracle and then it will install correctly on your Linux x86 server.

                        Regards,
                        John Peeken
                        Enterprise Linux Support
                        • 9. Re: Error in invoking target 'client_sharedlib' of makefile
                          211833
                          i have made the same mistake- installing x64 version on x32 version of linux
                          but i would expect oracle installation script to say - oops this is wrong installation package for this architecture
                          • 10. Re: Error in invoking target 'client_sharedlib' of makefile
                            560676
                            Hi, I am trying to install 10.2.0.1 and running into issues with linking the libraries and dbca failures:

                            /usr1/app/oracle/product/10.2.0/bin/genclntsh
                            /usr/bin/ld: crti.o: No such file: No such file or directory
                            collect2: ld returned 1 exit status
                            genclntsh: Failed to link libclntsh.so.10.1
                            /usr1/app/oracle/product/10.2.0/bin/genagtsh /usr1/app/oracle/product/10.2.0/lib
                            /libagtsh.so 1.0
                            /usr/bin/ld: crti.o: No such file: No such file or directory
                            collect2: ld returned 1 exit status

                            and

                            UnsatisfiedLinkError exception loading native library: njni10
                            Exception in thread "main" java.lang.UnsatisfiedLinkError: get
                            at oracle.net.common.NetGetEnv.get(Native Method)
                            at oracle.net.config.Config.getNetDir(Unknown Source)
                            at oracle.net.config.Config.initConfig(Unknown Source)
                            at oracle.net.config.Config.<init>(Unknown Source)
                            at oracle.sysman.assistants.util.NetworkUtils.<init>(NetworkUtils.java:222)
                            at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:255)
                            at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:682)
                            at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:205)
                            at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
                            at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:160)
                            at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:94)
                            at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:180)


                            I am running RHEL 4.4 AS on x86_64
                            I have the following prereqs:

                            Physical Memory: 4038052kB
                            SWAP Memory: 4192956kB
                            TEMP Available: 1.6G free
                            Architecture: x86_64 x86_64

                            RPMs Installed:
                            binutils-2.15.92.0.2-21 (x86_64)
                            compat-db-4.1.25-9 (x86_64)
                            control-center-2.8.0-12.rhel4.5 (x86_64)
                            gcc-3.4.6-3 (x86_64)
                            gcc-c++-3.4.6-3 (x86_64)
                            glibc-2.3.4-2.25 (i686)
                            glibc-2.3.4-2.25 (x86_64)
                            glibc-common-2.3.4-2.25 (x86_64)
                            gnome-libs-1.4.1.2.90-44.1 (x86_64)
                            libstdc++-3.4.6-3 (i386)
                            libstdc++-3.4.6-3 (x86_64)
                            libstdc++-devel-3.4.6-3 (x86_64)
                            make-3.80-6.EL4 (x86_64)
                            pdksh-5.2.14-30.3 (x86_64)
                            sysstat-5.0.5-11.rhel4 (x86_64)
                            xscreensaver-4.18-5.rhel4.11 (x86_64)
                            libaio-0.3.105-2 (x86_64)
                            redhat-release-4AS-5.5 (x86_64)
                            shmmax: 2147483648
                            shmmni: 4096
                            shmall: 2097152
                            shmmin: min seg size (bytes) = 1
                            semmsl: 250
                            semmns: 32000
                            semopm: 100
                            semmni: 128
                            file-max: 65536
                            ip_local_port_range: 1024 65000

                            All the tests pass, but I get stuck with the linking issue, I tried forcing gcc into 32 bit mode with gcc -m32, but this proves useless.
                            In checking my RPM version, they seem at an equal or greater level...

                            Any suggestions would be appreciated...

                            Thanks,

                            John
                            • 11. Re: Error in invoking target 'client_sharedlib' of makefile
                              540772
                              Hi John, I am also struck in the same phase where you are? Have resolved the issue? If you resolved the issued let me know.
                              • 12. Re: Error in invoking target 'client_sharedlib' of makefile
                                496080
                                I have a similar problem. I am trying to install Oracle App Server 10.1.3.1 on an IBM Power 5, which I understand to be both 32-bit and 64-bit capable.

                                I ran uname -a and got: Linux p560q 2.6.9-42.EL #1 SMP Wed Jul 12 23:22:51 EDT 2006 ppc64 ppc64 ppc64 GNU/Linux

                                It appears Oracle does not have a 64-bit version of the AppServer for Power5. My error log shows:

                                     logFile = /home/sa/product/10.1.3.1/OracleAS_3/install/make.log
                                     progMsg = Building client shared libraries

                                The output of this make operation is also available at: '/home/sa/product/10.1.3.1/OracleAS_3/install/make.log'

                                Start output from spawned process:
                                ----------------------------------
                                /home/sa/product/10.1.3.1/OracleAS_3/bin/genclntsh
                                grep: /home/sa/product/10.1.3.1/OracleAS_3/xdk/admin/shrept.lst: No such file or directory
                                /usr/bin/ld: cannot find -lxl
                                collect2: ld returned 1 exit status
                                genclntsh: Failed to link libclntsh.so.10.1
                                make: *** [client_sharedlib] Error 1

                                End output from spawned process.
                                ----------------------------------
                                Exception thrown from action: make
                                Exception Name: MakefileException
                                Exception String: Error in invoking target 'client_sharedlib' of makefile '/home/sa/product/10.1.3.1/OracleAS_3/network/lib/ins_net_client.mk'. See '/home/sa/oraInventory/logs/installActions2007-04-18_03-37-04PM.log' for details.
                                Exception Severity: 1
                                • 13. Re: Error in invoking target 'client_sharedlib' of makefile
                                  481054
                                  I've a similar problem with Oracle 11G(realized that I'm trying to install 32-bit version on 64-bit hardware- from your tip that $ORACLE_HOME has only lib dir.). But I notice that only 32-bit Oracle 11G has been released yet...?

                                  Any help would be appreciated!
                                  Thanks
                                  Ramesh
                                  • 14. Re: Error in invoking target 'client_sharedlib' of makefile
                                    481054
                                    Just noticed oracle released 11G for linux-64 bit.
                                    1 2 Previous Next