找不到模块XML :: SAX :: ExpatXS的可加载对象

时间:2013-03-12 10:16:24

标签: perl

执行perl时出现以下错误。

Can't locate loadable object for module XML::SAX::ExpatXS in @INC (@INC contains : C:/perl/site/lib C:/perl/lib .) at (eval 63) line 1 Compilation failed in require at (eval 63) line 1.

我无法找出错误的来源。我该在哪里开始寻找? 这究竟是什么意思?我是否需要安装一些perl库

我在bin / lib / DynaLoader.pm

中找到了这一行

croak("Can't locate loadable object for module $module in \@INC (\@INC contains: @INC)") unless $file; # wording similar to error from 'require'

,这在bin / lib / XML / SAX / ExpatXS.pm

package XML::SAX::ExpatXS;
use strict;
use vars qw($VERSION @ISA);

use XML::SAX::ExpatXS::Encoding;
use XML::SAX::ExpatXS::Preload;
use XML::SAX::Base;
use DynaLoader ();
use Carp;
use IO::File;

$VERSION = '1.31';
@ISA = qw(DynaLoader XML::SAX::Base XML::SAX::ExpatXS::Preload);

0 个答案:

没有答案