amavis-user October 2010 archive
Main Archive Page > Month Archives  > amavis-user archives
amavis-user: Re: [AMaViS-user] Error with Compress::Raw::Zlib: d

Re: [AMaViS-user] Error with Compress::Raw::Zlib: defines neither package nor VERSION

From: Mark Martinec <Mark.Martinec+amavis_at_nospam>
Date: Tue Oct 12 2010 - 09:40:44 GMT
To: amavis-user@lists.sourceforge.net

Huangbin,

> I'm running Amavisd-new-2.6.4, and get this error:
> (!)Decoding of p002 (Zip archive data, at least v2.0 to extract) failed,
> leaving it unpacked: Compress::Raw::Zlib defines neither package nor
> VERSION--version check failed at (eval 103) line 467
> [...]
> But I have 2.030 installed:
> # rpm -qa perl-Compress-Raw-Zlib
> perl-Compress-Raw-Zlib-2.030-1.el5.rf

perl-Compress-Zlib has been replaced with perl-IO-Compress.
Just comment-out the Compress::Raw::Zlib->VERSION(2.017) line:

--- amavisd~ 2009-06-25 14:39:01.000000000 +0200
+++ amavisd 2010-10-12 11:34:40.207725223 +0200
@@ -22889,5 +22889,5 @@
   ll(4) && do_log(4, "Unzipping %s", $part->base_name);
   # avoid DoS vulnerability in < 2.017
- Compress::Raw::Zlib->VERSION(2.017); # required minimal version, or die
+ # Compress::Raw::Zlib->VERSION(2.017); # module not loaded
   snmp_count('OpsDecByArZipAttempt');
   my($zip) = Archive::Zip->new;

Mark

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot org