Perl lib version (5.20.2) doesn’t match executable ‘perl.exe’ version (5.20.1) at C:/Perl/lib/Config.pm line 62.

When using Active Perl 5.20.2 and PP to compile perl files we faced the following error:

Perl lib version (5.20.2) doesn’t match executable ‘perl.exe’ version (5.20.1) at C:/Perl/lib/Config.pm line 62.
Compilation failed in require at C:/Perl/lib/Errno.pm line 8.
BEGIN failed–compilation aborted at C:/Perl/lib/Errno.pm line 8.
Compilation failed in require at C:/Perl/lib/File/Temp.pm line 17.
BEGIN failed–compilation aborted at C:/Perl/lib/File/Temp.pm line 17.
Compilation failed in require at C:/Perl/lib/Archive/Zip.pm line 11.
BEGIN failed–compilation aborted at C:/Perl/lib/Archive/Zip.pm line 11.
Compilation failed in require at -e line 228.
C:\Perl\site\bin/pp: Failed to extract a parl from ‘PAR::StrippedPARL::Static’ t
o file ‘C:\Users\zveress\AppData\Local\Temp\parlMVgYDUi.exe’ at C:/Perl/site/lib
/PAR/Packer.pm line 1158, line 1.

This apparently is a bug. The solution for us was to download and install Active Perl 5.20.1. Since this version is no longer available on the Activeperl website you can get it from download.com

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.