Error: Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/XML/Parser/Expat/Expat.so'
Oliver Howe <[email protected]> Tue, 02 Jun 2009 11:59:23 +0100
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to install XML::RSS on a CentOS release 5.2 (Final) server via CPAN after installing expat from source :- tar xvzf expat-2.0.1.tar.gz cd expat-2.0.1 ./configure make make install I type perl -MCPAN -e 'install XML::RSS' but I get the following error ... Checking if your kit is complete... Looks good Warning: prerequisite XML::Parser 2.23 not found. Writing Makefile for XML::RSS cp lib/XML/RSS.pm blib/lib/XML/RSS.pm cp lib/XML/RSS/Private/Output/V2_0.pm blib/lib/XML/RSS/Private/Output/V2_0.pm cp lib/XML/RSS/Private/Output/Base.pm blib/lib/XML/RSS/Private/Output/Base.pm cp lib/XML/RSS/Private/Output/Roles/ImageDims.pm blib/lib/XML/RSS/Private/Output/Roles/ImageDims.pm cp lib/XML/RSS/Private/Output/Roles/ModulesElems.pm blib/lib/XML/RSS/Private/Output/Roles/ModulesElems.pm cp lib/XML/RSS/Private/Output/V0_91.pm blib/lib/XML/RSS/Private/Output/V0_91.pm cp lib/XML/RSS/Private/Output/V0_9.pm blib/lib/XML/RSS/Private/Output/V0_9.pm cp lib/XML/RSS/Private/Output/V1_0.pm blib/lib/XML/RSS/Private/Output/V1_0.pm Manifying blib/man3/XML::RSS.3pm /usr/bin/make -- OK Running make test /usr/bin/perl "-MTest::Manifest" "-e" "run_t_manifest(0, 'blib/lib', 'blib/arch', )" Level is Test::Manifest::test_harness found [t/load.t t/pod.t t/version.t t/render-upon-init.t t/encoding.t t/0.9-generate.t t/0.9-parse.t t/0.9-strict.t t/0.91-parse.t t/1.0-generate.t t/1.0-parse.t t/1.0-parse-2.t t/1.0-parse-exotic.t t/2.0-generate.t t/2.0-modules.t t/2.0-permalink.t t/2.0-parse.t t/2.0-parse-2.t t/2.0-parse-self.t t/2.0-wo-title.t t/1.0-to-2.0.t t/auto_add_modules.t t/enclosures.t t/enclosures2.t t/enclosures-multi.t t/encode-output.t t/test-generated-items.t t/pod-coverage.t t/rss2-gt-encoding.t t/charset1.t t/xml-header.t t/add-item-insert-vs-append.t t/guid.t t/xml-base.t] t/load......................... # Failed test 'use XML::RSS;' # at t/load.t line 22. # Tried to use 'XML::RSS'. # Error: Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/XML/Parser/Expat/Expat.so' for module XML::Parser::Expat: libexpat.so.1: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230. # at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line 14 # Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line 14. # BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line 18. # Compilation failed in require at /root/.cpan/build/XML-RSS-1.44/blib/lib/XML/RSS.pm line 7. # BEGIN failed--compilation aborted at /root/.cpan/build/XML-RSS-1.44/blib/lib/XML/RSS.pm line 7. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at (eval 7) line 2. t/load.........................NOK 1FAILED--Further testing stopped: XML::RSS did not compileok 2 - use XML::RSS::Private::Output::V2_0; make: *** [test_dynamic] Error 9 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force even though the file /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/XML/Parser/Expat/Expat.so exists [root@dev7 expat-2.0.1]# ls -la /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/XML/Parser/Expat/Expat.so -r-xr-xr-x 1 root root 193235 Jun 1 19:05 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/XML/Parser/Expat/Expat.so [root@dev7 expat-2.0.1]# Does anyone know how to resolve this? Thanks, Oliver -- Confidentiality Notice: This email is confidential and may also be privileged. If you are not the intended recipient, please notify the sender IMMEDIATELY; you should not copy the email or use it for any purpose or disclose its contents to any other person. General Statement: Any statements made, or intentions expressed in this communication, may not necessarily reflect the view of Spider Networks, that no content herein may be held binding upon Spider Networks or any associate or any associated company unless confirmed by the issuance of a formal contractual document or purchase order.