Error in Perl code: Can't locate loadable object for module XML::LibXSLT [duplicate]

我只是一个虾纸丫 提交于 2019-12-02 10:23:30

A "loadable object" is a C library that the Perl module needs in order to do its work. To fix it, you probably need to run the following commands.

$ sudo yum install libxml2
$ sudo yum install libxslt

I'm surprised that these libraries are missing. How did you install the modules? If you used yum then they would have been installed as dependencies and if you used cpan (or cpanm) then Perl wouldn't have been able to build the modules without these libraries installed.

Update: I've just seen in another reply that you are installing this modules manually. Is there any reason why you're not using yum to install them?

$ sudo yum install perl-XML-LibXML
$ sudo yum install perl-XML-LibXSLT
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!