Wednesday 07 January 2009

Strange Perl Error

I started getting a weird error on my Slice involving Perl.

LWP failed with code[500] message[Errno architecture (x86_64-linux-gnu-thread-multi-2.6.15.7) does not match executable architecture (x86_64-linux-gnu-thread-multi-2.6.24-16-server) at /usr/local/share/perl/5.8.8/Errno.pm line 11.

Searching on Google didn’t throw up too many helpful solutions, except one. Edit the file Errno.pm and remove/rem out the lines throwing that error. Possibly not the best solution, but it seems to work for now.

sudo nano /usr/local/share/perl/5.8.8/Errno.pm

“$Config{‘archname’}-$Config{‘osvers’}” eq
“x86_64-linux-gnu-thread-multi-2.6.15.7″ or
        die “Errno architecture (x86_64-linux-gnu-thread-multi-2.6.15.7) does not match executable architecture ($Config{‘archname’}-$Config{‘osvers’})”;

 

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

quack - © 2002-2012
Monthly Archives
Category Archives