Pages

Friday, February 24, 2012

Relink fails for Oracle 9.2 patchset with undefined reference to dl_iterate_phdr@GLIBC_2.2.4



Relink fails for Oracle 9.2 patchset with undefined reference to dl_iterate_phdr@GLIBC_2.2.4 [ID 335515.1]

 Modified 21-JUL-2011     Type PROBLEM     Status PUBLISHED 
In this Document
  Symptoms
  Cause
  Solution
  References




Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.4 to 9.2.0.8 - Release: 9.2 to 9.2
Linux x86
Red Hat Advanced Server
Checked for relevance on 05-Feb-2010

Symptoms

While installing the 9.2.0.x.0 patchset on the linux x86 RedHat Server following error were encountered during the relink phase.
$ORACLE_HOME/install/make.log
------------------------------------------
/usr/lib/gcc/i386-redhat-linux/3.4.3/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
collect2: ld returned 1 exit status
make: *** [trcroute] Error 1
On checking:
Note.303859.1 Requirements for Installing Oracle 9iR2 on RHEL 4
We find all the required packages has been already installed.
# rpm -qa compat-oracle-rhel4
compat-oracle-rhel4-1.0-5

Cause

The System Administrator has installed the latest O/S updates from the RedHat.  This has caused the Oracle patch "compat-oracle-rhel4-1.0-5" to be overwritten.
# ls -l /usr/bin/gcc*
-rwxr-xr-x  2 root root 93120 May 17 01:36 /usr/bin/gcc
-rwxr-xr-x  2 root root 86364 Dec  1  2004 /usr/bin/gcc32
-rwxr-xr-x  1 root root 94784 May 17 01:36 /usr/bin/gcc.orig
# rpm -qs compat-oracle-rhel4
normal        /usr/bin/g++.tmp_1
normal        /usr/bin/gcc.tmp_1

Solution

Reinstall "compat-oracle-rhel4-1.0-5"
  • Redownload the patch:4198954 from Oracle Metalink.
  • Follow the instruction from the README to reapply the patch.
This time when you reapply the patch you will receive the following error.
# rpm -Uvh compat-oracle-rhel4-1.0-5.i386.rpm
Preparing...               ########################################### [100%]
        package compat-oracle-rhel4-1.0-5 is already installed
Use the following command to reapply the patch.
# rpm -Uvh --force compat-oracle-rhel4-1.0-5.i386.rpm
Preparing...               ########################################### [100%]
   1:compat-oracle-rhel4    ########################################### [100%]
# ls -l /usr/bin/gcc*
-rwxr-xr-x  1 root root   914 Feb 23  2005 /usr/bin/gcc
-rwxr-xr-x  2 root root 84780 Dec  1  2004 /usr/bin/gcc32
-rwxr-xr-x  1 root root 93120 Sep 26 10:28 /usr/bin/gcc.orig

References

NOTE:303859.1 - Requirements for Installing Oracle 9iR2 on RHEL 4

Show Related Information Related

Products
  • Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
Errors
ERROR 1

Back to topBack to top

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete