我有一个以前工作过的虚拟脚本:
#!/usr/bin/perl
use utf8;
use strict;
use warnings;
use XML::LibXML;
my $parser = XML::LibXML->new();
print "test ok\n";
但是今天它出现了一个错误:
Can't load '/usr/lib/perl5/vendor_perl/5.8/msys/auto/XML/LibXML/Common/Common.dll' for module XML::LibXML::Common: dlopen: Win32 error 126 at /usr/lib/perl5/5.8/msys/DynaLoader.pm line 230.
at /usr/lib/perl5/vendor_perl/5.8/msys/XML/LibXML.pm line 12
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8/msys/XML/LibXML.pm line 12.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8/msys/XML/LibXML.pm line 12.
Compilation failed in require at D:\Projets\Maroc Scada\Rabat 41 - Images T200i-DRR-F200C\script_PI\test.pl line 5.
BEGIN failed--compilation aborted at D:\Projets\Maroc Scada\Rabat 41 - Images T200i-DRR-F200C\script_PI\test.pl line 5.
我完全重新安装了Perl并重新安装了模块libxml-perl 0.08,但这没有帮助。
任何想法都会受到高度赞赏......