Recent Fedora 7 Update Breaks Perl Compress::Zlib

James McDonald james
Mon Oct 1 20:05:17 PDT 2007


I just did an yum update to Fedora 7 and rebooted seems that amavisd 
wasn?t starting the complaint was about Compress::Zlib not loading.

Long story short when I ran perl -e ?use Compress::Zlib? to test it 
could load. It threw up an error message as shown following

"|is only avaliable with the XS version at 
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9"
|

|Which is this "use Scalar::Util qw(dualvar);" line
|

I tried to do an update using "perl -MCPAN -e shell" but the error 
stopped the shell completing also complaining about a gzopen subroutine 
not working.

A quick google found a solution - download and manually install 
Scalar-List-Utils

wget 
http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Scalar-List-Utils-1.19.tar.gz

tar xzvf Scalar-List-Utils-1.19.tar.gz
cd Scalar-List-Utils-1.19
perl Makefile.PL
make test install

I think the guy posting the fix was this Peter Scott 
http://www.perlmedic.com/ http://www.perldebugged.com/

Just something to warey of.




More information about the Linux-users mailing list