Error while running the pre-clone script on oracle application

When we run the pre-clone script we are getting the below error as follows,

$ perl dbTier

Perl lib version (v5.8.8) doesn’t match executable version (v5.10.0) at <physical PATH>/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/ line 46.
Compilation failed in require at <physical PATH>/db/tech_st/11.2.0/appsutil/clone/ line 35.
BEGIN failed–compilation aborted at <physical PATH>/db/tech_st/11.2.0/appsutil/clone/ line 35.


The root cause has been identified with the template file ‘adxdbctx.tmp’ in Release 120.34.12010000.14 :

This template is used as part of the Contextfile generation, where it is pointing to Perl libraries in Release 5.8.3, which has been used for the Database in Release 10.2.x. With the Database Release 11.2.x the Perl Release referenced and used in the Environment to Release 5.10.

Part of the template file :

<PERL5LIB oa_var=”s_perl5lib” osd=”unix” default=”%s_db_oh%%/%perl%/%lib%/%5.8.3:%s_db_oh%%/%perl%/%lib%/%site_perl%/%5.8.3:%s_db_oh%%/%appsutil%/%perl”>%s_perl5lib%</PERL5LIB>

The PERL5LIB is pointing to Perl Release 5.8.3, which is producingthe failure.

This issue has been reported via unpublished Bug 10083614 – ‘12.2: CHANGE DEFAULT FOR VARIABLE S_PERL5LIB IN ADXDBCTX.TMP’. At this stage there is no Patch available.

Please use following workaround to get the failure fixed :

1. Make a backup copy of your existing Database Contextfile.

2. Modify the context file as shown.


<PERL5LIB oa_var=”s_perl5lib” osd=”unix”>/<complete path>/db/tech_st/11.2.0/perl/lib/5.8.3:
/<complete path>/db/tech_st/11.2.0/perl/lib/site_perl/5.8.3:/<complete path>/db/tech_st/11.2.0/appsutil/perl</PERL5LIB>


<PERL5LIB oa_var=”s_perl5lib” osd=”unix”>/<complete path>/db/tech_st/11.2.0/perl/lib/5.10.0:
<complete path>/db/tech_st/11.2.0/perl/lib/site_perl/5.10.0:/<complete path>/db/tech_st/11.2.0/appsutil/perl</PERL5LIB>
3. Execute Autoconfig to get the modifications implemented.

4. Verify the Perl Release and the PER5LIB Environment Setting in your Enviornment :

4.1 perl -v
4.2 echo $PERL5LIB

The Perl release Information should be in synch with the Release used in the PERL5LIB Environment Setting.

  • May 28, 2016 | 40 views