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' (Doc ID 417605.1)

Last updated on AUGUST 03, 2016

Applies to:

Oracle Applications DBA - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Oracle Applications Manager - Version 11.5.10.2 to 11.5.10.2 [Release 11.5.10]
Information in this document applies to any platform.
***Checked for relevance on 13-Jun-2013***


Symptoms

When attempting run Rapid Clone on the database tier in 11.5.10, the following error occurs:
. . .

$ perl adcfgclone.pl dbTechStack

failed on relink ORACLE_HOME with the following error:
--
/usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'


. . .

You may also see an error such as:


. . .

Started ApplyDBTier ..

adlnkoh.sh started at <date>
logfile located in <Path to ORACLE_HOME>/9.2.0/install/make.log

Error while running adlnkoh.sh. Please check logfile.

<Path to ORACLE_HOME>/9.2.0/appsutil/install/adlnkoh.sh: line 200:
<Path to ORACLE_HOME>/9.2.0/bin/sqlplus: No such file or directory

StackTrace:
java.lang.Exception: java.lang.NullPointerException
at oracle.apps.ad.clone.ApplyDBTechStack.runRelinkOH(ApplyDBTechStack.java:847)

. . .




NOTE: This may occur with any Rapid Clone command on the database tier - not only "dbTechStack" as shown here.


or

During an OS Migration of E-Business Suite Release 11.5.10.2 from HP Unix to Linux, following error occurs :  

 Running Autoconfig can fail on the same Error

AutoConfig failes with 4 scripts:
adgendbc.sh INSTE8_SETUP 1
afcpnode.sh INSTE8_SETUP 127
afgcsreg.sh INSTE8_SETUP 127
txkMultinode.sh INSTE8_SETUP 127

running: 'cd /u31/oracle/kb1ebtora/iAS/sqlplus/lib; make -f ins_sqlplus.mk install'...
rm -f sqlplus
Linking sqlplus
rm -f sqlplus
gcc -o sqlplus -L/u31/oracle/kb1ebtora/iAS//sqlplus/lib/ -L/u31/oracle/kb1ebtora/iAS//lib/ -L/u31/oracle/kb1ebtora/iAS//lib//stubs/ /u31/oracle/kb1ebtora/iAS//sqlplus/lib/s0afimai.o -lsqlplus -lclntsh /u31/oracle/kb1ebtora/iAS//rdbms/lib/kpuadef.o `cat /u31/oracle/kb1ebtora/iAS//lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /u31/oracle/kb1ebtora/iAS//lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lwtc8 -lmm -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /u31/oracle/kb1ebtora/iAS//lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /u31/oracle/kb1ebtora/iAS//lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -ltrace8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 `cat /u31/oracle/kb1ebtora/iAS//lib/sysliblist` -Wl,-rpath,/u31/oracle/kb1ebtora/iAS//lib:/lib:/usr/lib -lm -lpthread `cat /u31/oracle/kb1ebtora/iAS//lib/sysliblist` -ldl -lm -lpthread
/usr/lib/gcc/i386-redhat-linux/3.4.6/libgcc_s.so: undefined reference to `dl_iterate_phdr@GLIBC_2.2.4'
collect2: ld returned 1 exit status
make: [sqlplus] Error 1 (ignored)
/bin/chmod 755 sqlplus
/bin/chmod: cannot access `sqlplus': No such file or directory
make: [sqlplus] Error 1 (ignored)
mv -f /u31/oracle/kb1ebtora/iAS//bin/sqlplus /u31/oracle/kb1ebtora/iAS//bin/sqlplusO
mv /u31/oracle/kb1ebtora/iAS//sqlplus/lib/sqlplus /u31/oracle/kb1ebtora/iAS//bin/sqlplus
mv: cannot stat `/u31/oracle/kb1ebtora/iAS//sqlplus/lib/sqlplus': No such file or director

Changes

Installing  The newer Linux Oracle Linux 4 or Red Hat 4 (or Rad Hat 5) supplied the newer gcc version 3.4.x, which is not compatible with the E-Business Suite software.

The E-Businesse Suite requires the use of "older" gcc/g++ 3.2.x.

See details in the "RDBMS"  Note below:

<Note 389811.1> GCC/G++ version incompatiblity with compat-oracle-rhel4-1.0-5 rpm package installed

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms