5 Replies Latest reply: Oct 13, 2012 12:50 PM by Hussein Sawwan-Oracle RSS

    Installation of 11i on 32-Bits OEL4 having linking error.

    FaisalPathan
      Hi,

      I am trying to install 11i (11.5.10.2) on OLE 4.x 32-Bits, but having linking errors when adlnkoh.sh running. The log show following error message cat 10120907.log".

      adlnkoh.sh started at Fri Oct 12 09:21:06 EDT 2012

      logfile located in /ebs11i/oracle/visdb/9.2.0/install/make.log

      Error while running adlnkoh.sh. Please check logfile

      Errors while running adlnkoh.sh

      There was an error while running the command - /ebs11i/oracle/visdb/9.2.0/temp/VIS_ebs11i40/adrun9i.sh APPS APPS
      /ebs11i/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 207: /ebs11i/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
      RW-50010: Error: - script has returned an error: 1
      RW-50004: Error code received when running external process. Check log file for details.
      Running Database Install Driver for VIS instance


      Now the make log /ebs11i/oracle/visdb/9.2.0/install/make.log is showing following messages:

      running genclntsh...
      /ebs11i/oracle/visdb/9.2.0/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
      rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.s /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.o


      But when I check details about file kpudfo.o, it is showing 64-Bits, How come this file is 64-Bits when I am installing 32-Bits application?

      [oracle@ebs11i40:/ebs11i]$ file /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o
      /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped

      Please help me with this issue.

      Thanks.
        • 1. Re: Installation of 11i on 32-Bits OEL4 having linking error.
          Hussein Sawwan-Oracle
          There was an error while running the command - /ebs11i/oracle/visdb/9.2.0/temp/VIS_ebs11i40/adrun9i.sh APPS APPS
          /ebs11i/oracle/visdb/9.2.0/appsutil/install/adlnkoh.sh: line 207: /ebs11i/oracle/visdb/9.2.0/bin/sqlplus: No such file or directory
          RW-50010: Error: - script has returned an error: 1
          RW-50004: Error code received when running external process. Check log file for details.
          Running Database Install Driver for VIS instance
          What version of gcc have you installed? Please make sure you are using the correct version (Perl Adcfgclone.pl dbTechStack Failed While Relink /usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to`dl_iterate_phdr@GLIBC_2.2.4' [ID 417605.1]).
          /ebs11i/oracle/visdb/9.2.0/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
          rm -f oracle dbv tstshm maxmem orapwd dbfsize cursize genoci extproc extproc32 hsalloci hsots hsdepxa dgmgrl dumpsga mapsga osh sbttest expdp impdp imp exp sqlldr rman nid extjob extjobo genezi ikfod grdcscan /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.s /ebs11i/oracle/visdb/9.2.0/rdbms/lib/ksms.o


          But when I check details about file kpudfo.o, it is showing 64-Bits, How come this file is 64-Bits when I am installing 32-Bits application?

          [oracle@ebs11i40:/ebs11i]$ file /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o
          /ebs11i/oracle/visdb/9.2.0/rdbms/lib/kpudfo.o: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped

          Please help me with this issue.
          What is the output of "uname -m" command? -- Installing onto Linux And Receive error: Genclntsh: Failed To Link Libclntsh.So.10.1 [ID 340861.1]

          Thanks,
          Hussein
          • 2. Re: Installation of 11i on 32-Bits OEL4 having linking error.
            FaisalPathan
            [root@ebs11i40 ~]# uname -m
            i686
            [root@ebs11i40 ~]# gcc --version
            gcc32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)
            Copyright (C) 2002 Free Software Foundation, Inc.
            This is free software; see the source for copying conditions. There is NO
            warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
            • 3. Re: Installation of 11i on 32-Bits OEL4 having linking error.
              Hussein Sawwan-Oracle
              Thanks.

              Please login as oracle user, source the database env file, and issue the following:

              $ cd $ORACLE_HOME
              $ file oracle

              Please post the output here.

              Thanks,
              Hussein
              • 5. Re: Installation of 11i on 32-Bits OEL4 having linking error.
                Hussein Sawwan-Oracle
                959674 wrote:
                Thanks everyone for help.
                It would be great if you could share the solution with us.

                Thanks,
                Hussein