![bislinks's picture bislinks's picture](https://archive.virtualmin.com/system/files/styles/thumbnail/private/pictures/picture-8361-1579795924.png?itok=eXXnymyy)
This error is showing up after the recent update of perl to 5.8.8.
Command '"./index.pl"' failed with return code 9 and error message List::Util object version 1.21 does not match bootstrap parameter 1.25 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm line 94. Compilation failed in require at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm line 11. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/HTML/Template.pm line 916. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/HTML/Template.pm line 916. Compilation failed in require at ./index.pl line 2. BEGIN failed--compilation aborted at ./index.pl line 2..
Status:
Closed (fixed)
Comments
Submitted by andreychek on Mon, 11/05/2012 - 10:06 Comment #1
Howdy -- what Perl application is it that you're using there?
It seems to be erroring out in the Scalar::Util module -- but the Scalar::Util module included with Perl doesn't reside in that particular directory, it typically resides in "/usr/lib/perl5/5.8.8/Scalar/Util.pm".
Is it possible that a version of Scalar::Util and perhaps List::Util was installed directly from CPAN?
If so, it's possible that it's conflicting with the version that's currently installed as part of the Perl distribution.
Fixing it may be as simple as reinstalling that particular module. However, just to verify, what do these commands show:
rpm -qf /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Scalar/Util.pm
rpm -qf /usr/lib/perl5/5.8.8/i386-linux-thread-multi/List/Util.pm
Those will show if those files are owned by a CentOS package, or whether they're installed directly from CPAN.
I got this response to both the above commands : "is not owned by any package"
This is the error I get when I try to install Scalar::Util
install Scalar::Util CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Wed, 24 Oct 2012 23:55:04 GMT Going to read /root/.cpan/sources/authors/01mailrc.txt.gz CPAN: Compress::Zlib loaded ok Undefined subroutine &IO::Uncompress::Base::readonly called at /usr/lib/perl5/site_perl/5.8.8/IO/Uncompress/Base.pm line 1076.
Submitted by JamieCameron on Mon, 11/05/2012 - 11:45 Comment #4
How did you upgrade Perl exactly?
Submitted by andreychek on Mon, 11/05/2012 - 12:09 Comment #5
Also, what does this command show:
rpm -qa | grep perl-5
Virtualmin package update
perl-libwww-perl-5.805-1.1.1 perl-5.8.8-38.el5_8
Submitted by andreychek on Tue, 11/06/2012 - 09:48 Comment #8
Okay, so for starters -- I really don't know what's going on there :-)
While no one else has reported that issue in the forums or support tracker here, I did some Googling, and found various reports of that occurring on CentOS throughout the last 7 years or so.
Although I'm not clear on what's causing that (and doing so in a seemingly intermittent fashion), the folks at PerlMonks have posted a solution that worked for some of them. It essentially involves manually reinstalling the module that's causing the errors you're seeing.
You can see their solution here:
http://www.perlmonks.org/?node_id=972219
I'd suggest giving that a shot, and seeing if that resolves the errors you're getting.
Thanks Andreycheck, it worked.
Submitted by andreychek on Wed, 11/07/2012 - 20:57 Comment #10
Super, thanks for letting us know that you got it working again!
Submitted by Issues on Wed, 11/21/2012 - 21:08 Comment #11
Automatically closed -- issue fixed for 2 weeks with no activity.