Perl:V 5.8.8:在CentOS5 / RHEL5上找不到auto / XML / LibXSLT / new.al [英] Perl: V 5.8.8 : Can't locate auto/XML/LibXSLT/new.al on CentOS5/RHEL5

查看:142
本文介绍了Perl:V 5.8.8:在CentOS5 / RHEL5上找不到auto / XML / LibXSLT / new.al的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到
在安装Perl 5.8.8的CentOS5机器上找不到auto / XML / LibXSLT / new.al
错误

I am getting Can't locate auto/XML/LibXSLT/new.al error on my CentOS5 machine installed Perl 5.8.8

此问题与libxml2和perl模块 XML :: LibXML,XML :: LibXSLT 有关。
对于1.70中的两个版本。

This issue is related with libxml2 and perl modules XML::LibXML, XML::LibXSLT. For both version in 1.70.

在同时解决两个模块后,

Upon settling both modules, further I am getting error for

Can't locate auto/XML/LibXSLT/new.al

似乎是 LibXSLT 的自动加载功能,但令人惊讶的是,我没有找到任何文件为 new.al

which seems to be a autoload function of LibXSLT, But surprisingly I am not finding any file as new.al.

这是我遇到此错误的代码段

Here is the code snippet through which I am getting this error

use XML::LibXML;
use XML::LibXSLT;
my $parser = XML::LibXML->new;
my $xslt = XML::LibXSLT->new;

任何帮助将不胜感激。

推荐答案

我认为您的 XML :: LibXSLT 安装不正常。请尝试以下。它对我有用:

I think your XML::LibXSLT installation is not healthy. Try below. It worked for me:

# yum -y install perl-XML-LibXSLT
# perl -e 'use XML::LibXSLT'

它在ubuntu上也对我有用。这是命令:

And it worked for me on ubuntu as well. Here is the command:

# aptitude install libxml-libxslt-perl

这篇关于Perl:V 5.8.8:在CentOS5 / RHEL5上找不到auto / XML / LibXSLT / new.al的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆