Subject: | JSON::XS DLL missing in Strawberry Perl 5.16.0.1 |
JSON/XS/XS.dll appears to be missing from Strawberry Perl 5.16.0.1. This
in turn means that the JSON module won't load, which prevents the cpan
command from installing modules (including App::cpanminus).
On Windows Server 2003 I installed the Strawberry Perl 5.16.0.1 (32bit)
MSI from www.strawberryperl.com into C:\strawberry5.16.0\. For
comparison I also installed 5.14.2.1 into C:\strawberry5.14.2\.
With 5.16.0 the JSON module doesn't load:
Show quoted text
>C:\strawberry5.16.0\perl\bin\perl -MJSON -E "say JSON->VERSION"
Can't locate loadable object for module JSON::XS in @INC (@INC
contains: C:/strawberry5.16.0/perl/site/lib
C:/strawberry5.16.0/perl/vendor/lib C:/strawberry5.16.0/perl/lib .) at
(eval 5) line 2.
Compilation failed in require at (eval 5) line 2.
BEGIN failed--compilation aborted at (eval 5) line 2.
at -e line 0.
Compilation failed in require.
BEGIN failed--compilation aborted.
By comparison it works fine with 5.14.2:
Show quoted text >C:\strawberry5.14.2\perl\bin\perl -MJSON -E "say JSON->VERSION"
2.53
As such, I've been unable to install any Cpan modules on 5.16.0. Using
the cpan command gives test failures complaining about JSON not being
available, as does using cpanm (after downloading it manually), hence
why I've labelled this is critical.
The problem appears to be that the file
perl/vendor/lib/auto/JSON/XS/XS.dll is missing from 5.16.0 (and present
in 5.14.2).
Comparing .dll files installed under perl/vendor/lib/auto/ between the
two releases, most of the others in 5.14.2 are also in 5.16.0, and
indeed modules such as Math::Pari load fine with both.
The only couple missing from 5.16.0 are:
* DB_File.dll -- but the DB_File module loads fine, so presumably that
DLL is no longer required
* DBD/mysql/libmysql_.dll (note not mysql.dll, which is there) -- indeed
using DBD::mysql doesn't work with 5.16.0; this may require a separate
bug if it isn't for the same reason that the JSON DLL is missing.
Cheers