Technote (troubleshooting)
Problem(Abstract)
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.
| Segment | Product | Component | Platform | Version | Edition |
|---|---|---|---|---|---|
| Software Development | Rational ClearCase | Perl: ccperl |
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.