Voilà.
J'essaye de faire tourner sympa sur une redhat (sur laquelle il n' y a pas de package), et lorsque je le lance, j'ai une erreur sur le chargement d'un module perl :
[sympa@dsadv00003:~] # /etc/init.d/sympa start
Starting Sympa subsystem:
Starting module sympa.pl: Can't locate loadable object for module XML::LibXML::Common in @INC (@INC contains: /usr/product/sympa/bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11.
Compilation failed in require at /usr/product/sympa/bin/Family.pm line 25.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/Family.pm line 25.
Compilation failed in require at /usr/product/sympa/bin/List.pm line 231.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/List.pm line 231.
Compilation failed in require at /usr/product/sympa/bin/Commands.pm line 27.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/Commands.pm line 27.
Compilation failed in require at /usr/product/sympa/bin/sympa.pl line 34.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/sympa.pl line 34.
failure
Starting module archived.pl: Can't locate loadable object for module XML::LibXML::Common in @INC (@INC contains: /usr/product/sympa/bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11.
Compilation failed in require at /usr/product/sympa/bin/Family.pm line 25.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/Family.pm line 25.
Compilation failed in require at /usr/product/sympa/bin/List.pm line 231.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/List.pm line 231.
Compilation failed in require at /usr/product/sympa/bin/archived.pl line 31.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/archived.pl line 31.
failure
Starting module bounced.pl: Can't locate loadable object for module XML::LibXML::Common in @INC (@INC contains: /usr/product/sympa/bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11.
Compilation failed in require at /usr/product/sympa/bin/Family.pm line 25.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/Family.pm line 25.
Compilation failed in require at /usr/product/sympa/bin/List.pm line 231.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/List.pm line 231.
Compilation failed in require at /usr/product/sympa/bin/bounced.pl line 42.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/bounced.pl line 42.
failure
Starting module task_manager.pl: Can't locate loadable object for module XML::LibXML::Common in @INC (@INC contains: /usr/product/sympa/bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/XML/LibXML.pm line 11.
Compilation failed in require at /usr/product/sympa/bin/Family.pm line 25.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/Family.pm line 25.
Compilation failed in require at /usr/product/sympa/bin/List.pm line 231.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/List.pm line 231.
Compilation failed in require at /usr/product/sympa/bin/task_manager.pl line 31.
BEGIN failed--compilation aborted at /usr/product/sympa/bin/task_manager.pl line 31.
failure
Le module en question est situé dans
"/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/"
qui est contenu dans le "@INC" du message.
A savoir, en recette, tout fonctionne normalement, les modules perl sont les mêmes (même taille des fichiers).
Est-ce que cette errreur vous parle ?
N'y connaissant rien ou presque à perl, je ne sais pas trop où chercher...
merci de votre aide.
# A essayer
Posté par pifou . Évalué à 1.
'XML::LibXML::Common' ou que celui-ci ne soit pas bien installé.
Le plus simple à mon avis est de tenter la commande suivante en root pour (ré)installer le module en question :
perl -MCPAN -e "install XML::LibXML::Common"
[^] # Re: A essayer
Posté par antm . Évalué à 1.
Je vais demander à root de le réinstaller proprement...
Suivre le flux des commentaires
Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.