Gary V wrote: > On 11/15/07, Bob Mortimer wrote: >> On Thursday 15 November 2007 16:03:08 Gary V wrote: >> >>> Was the rpm perl-Compress-Zlib ? >> Thanks for the reply Gary. >> >> Yep, used urpmi but have also tried CPAN which is trying to install a newer >> (I >> think) version but failing with loads of errors. > > It might be useful to see those errors. >
After updating perl on my netbsd system, I encountered the same issue with amavis indicating that Compress::Zlib was missing. The error message is somewhat misleading. The module exists, it just fails to load. This turned out to be a requirement to recompile some of the perl modules such as Compress::Raw::Zlib. Compress::Zlib was failing to load because the required .so files were not compatible with the updated perl binary. Mark had a post some time ago on the list about the necessity to recompile when perl is upgraded. MrC >>> Run 'perl -V' to determine the version of Perl: >>> >>> # perl -V >> I get: >> Summary of my perl5 (revision 5 version 8 subversion 8) configuration: >> ... >> @INC: >> /usr/lib/perl5/5.8.8/i386-linux >> /usr/lib/perl5/5.8.8 >> /usr/lib/perl5/site_perl/5.8.8/i386-linux >> /usr/lib/perl5/site_perl/5.8.8 >> /usr/lib/perl5/site_perl >> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux >> /usr/lib/perl5/vendor_perl/5.8.8 >> /usr/lib/perl5/vendor_perl/5.8.7 >> /usr/lib/perl5/vendor_perl/5.8.7/i386-linux >> /usr/lib/perl5/vendor_perl/5.8.6 >> /usr/lib/perl5/vendor_perl >> >> >>> Then run amavisd debug, and see what version amavisd-new sees (I'm >>> trying to see if you Perl installed in two locations): >> This doesn't get far enough to report the perl version: >> [EMAIL PROTECTED] ~]# amavisd debug >> ERROR: MISSING REQUIRED BASIC MODULES: >> Compress::Zlib >> BEGIN failed--compilation aborted at /usr/local/sbin/amavisd line 171. >> >>> # find / -type f -name perl >> [EMAIL PROTECTED] ~]# find / -type f -name perl >> /usr/share/apps/kdevappwizard/imports/perl >> /usr/share/games/fortunes/perl >> >> Still confused ... >> > > How about: > # which perl > > If Mandriva uses the locate command, > # updatedb > # locate Compress/Zlib.pm > > (or) > # find / -type f -name Zlib.pm > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
