Tuesday, October 25, 2016

perl adbldxml.pl error

perl adbldxml.pl error 

Unable to build database context file, using adbldxml.pl


while creating context file  we ran perl adbldxml.pl on dbTier and  got the error 


perl adbldxml.pl

Can't locate Config.pm in @INC (@INC contains: ../../..//12102/perl/lib/5.10.0 ../../.././/db/12102/perl/lib/site_perl/5.10.0 ../lib/site_perl/5.14.1/sun4-solaris-thread-multi-64 ../lib/site_perl/5.14.1 ../lib/5.14.1/sun4-solaris-thread-multi-64 ../lib/5.14.1 .) at adbldxml.pl line 31.
BEGIN failed--compilation aborted at adbldxml.pl line 31.


Unable to build database context file, using adbldxml.pl
11gR2 Database with EBS R12 Perl lib version doesn't match executable version


RC-00110: Fatal: Error occurred while relinking of ApplyDBTechStack


Resolved -
Setting the PERL5LIB environment variable on the Database tier

By default, the PERL5LIB environment variable is set to the following on the Database tier:

/perl/lib/5.8.3:/perl/site_perl/5.8.3:/appsutil/perl

But for an instance with 11gR2 Database, the perl version on the database tier is '5.10.0'. So the variable 'PERL5LIB' on the 11gR2 database tier needs to be set as follows:

export PERL5LIB=/perl/lib/5.10.0:/perl/site_perl/5.10.0:/appsutil/perl

For Ex:

export PERL5LIB=/perl/lib/5.10.0:/perl/site_perl/5.10.0:/appsutil/perl



Answer 2


Please check the outputs below:- 


#echo `which perl`
/usr/bin/perl

#`which perl` -v

export ORACLE_HOME=/u01/app/oracle/oas_home/10.1.3
export PERL5LIB=$ORACLE_HOME/perl/lib/5.8.3:$ORACLE_HOME/perl/lib/site_perl/5.8.3:
export PERL5LIB=$PERL5LIB:$ORACLE_HOME/perl/lib/site_perl/5.8.3/i686-linux-thread-multi:$PERL5LIB
export PATH=$ORACLE_HOME/perl/bin:$PATH

No comments: