During relink, we got the error message as
/usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
Actual Fix from oracle Support
Cause
The issue is caused by the higher gcc version 3.4.6 was used to run adcfgclone.pl.
or some Linux packages were missing.
The Linux/RDBMS document Note 303859.1 Title: Requirements for Installing Oracle 9iR2 on RHEL 4, explains the cause of the error :
/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
You can receive following error at the time of linking the binaries if any of the above packages are missed.
Solution
1)Check the current "gcc" version you are using.
rpm -q glibc
gcc -v
2) Apply the Patch 4198954 and test again.
Workaround:
cd /usr/bin
mv gcc gcc344
mv g++ g++344
ln -s gcc32 gcc
ln -s gcc++32 g++
This solved the problem with workaround itself. I dont need to apply the patch as this server has multiple instances including R12.1.1 and R12.1.3.
Happy helping.. cheers!!!