Troubleshooting
Problem
This technote explains why the errors []Perl lib version (vX.X.X) doesn't match executable version (vX.X.X[] and []Compilation failed[] might occur when running IBM® Rational® ClearCase® perl scripts.
Symptom
Errors reported when running the ClearCase MultiSite® sync_receive.bat script:
d:\Program Files\Rational\ClearCase\config\scheduler\tasks\sync_receive.bat
Perl lib version (v5.8.7) doesn't match executable version (v5.8.6) at
C:\Program Files\Veritas\VRTSPerl\lib/Config.pm line 46.
Compilation failed in require at C:\Program Files\Veritas\VRTSPerl\lib/DynaLoader.pm line 25.
BEGIN failed--compilation aborted at C:\Program
Files\Veritas\VRTSPerl\lib/DynaLoader.pm line 25.
Compilation failed in require at D:/Program
Files/Rational/Common/lib/perl5/site_perl/5.8.6/MSWin32-x86-multi-
thread/Win32API/Registry.pm line 10.
Compilation failed in require at D:/Program
Files/Rational/Common/lib/perl5/site_perl/5.8.6/MSWin32-x86-multi-
thread/Win32/TieRegistry.pm line 26.
BEGIN failed--compilation aborted at D:/Program
Files/Rational/Common/lib/perl5/site_perl/5.8.6/MSWin32-x86-multi-
thread/Win32/TieRegistry.pm line 26.
Compilation failed in require at D:/Program
Files/Rational/Common/lib/perl5/site_perl/5.8.6/ClearCase/CurrentVersion.pm line 12.
Compilation failed in require at D:\Program
Files\Rational\ClearCase\bin/ccperlpp.pl line 24.
BEGIN failed--compilation aborted at D:\Program Files\Rational\ClearCase\bin/ccperlpp.pl line 24.
Cause
The problem may be caused when there are multiple versions of Perl installed on the same system where the search path environment variable is setup so that the "incorrect" Perl version is chosen first.
Resolving The Problem
Remove any incorrect paths in your system path statement.
Then move the ...\clearcase\bin path closer to the beginning of the system path environment variable and restart the machine.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21289331