Hi, I am also using CentOS 5.2 and don't have a problem. You must have more than one rpm for Compress-Zlib installed, which can be confusing for amavisd (or perl as a whole).

When I list my Zlib.pm, I only get ONE location (also installed from DAG), namely

/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.8/IO/Zlib.pm
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Compress/Raw/Zlib.pm


ALl under vendor_perl, and not site_perl.

So I suggest you do the following:

rpm -q perl-Compress-Zlib

Then check what is left, or find out why there is also one under site_perl by doing:

rpm -qf /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm

Which should show you which packet installed it there.

Once you have gotten rid of all of them using rpm -e

Just go yum install perl-Compress-Zlib.

That at least makes sure you have it in one location only.

Hope that helps,

.peter




On Thu, 31 Jul 2008, Num ber wrote:


With some reseach i have found why they don't work..But i don't know how to resolv it !!I have uncomment this two line in /usr/sbin/amavisd_____printf STDERR ("fetch_modules: error loading module %s :\n%s\n", $_, join("\n", map {"> $_"} split(/\n/,$eval_stat)));_____And when i start i have this more explictive error :_____# service amavisd startDémarrage de Mail Virus Scanner (amavisd) :fetch_modules: error loading module Compress/Zlib.pm :> is only avaliable with the XS version at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9> BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9.> Compilation failed in require at /usr/sbin/amavisd line 139._____At /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9 i have this line :_____use Scalar::Util qw(dualvar);____But i don"t find a version of Scalar::Util for Centos 5.2 on Dag repos...Thanks for your help !!> From: [EMAIL PROTECTED]> To: [email protected]> Date: Wed, 30 Jul 2008 10:40:20 +0000> Subject: [AMaViS-user] Amvisd don't start -> CentOs 5.2 Update (MISSING BASIC MODULES ZLib )> > > Hello> > Since i have upgraded my centos to 5.2 i have a problème with perl and amavisd.> > Amavisd don't start :> > ______> [EMAIL PROTECTED] IO]# amavisd --debug> ERROR: MISSING REQUIRED BASIC MODULES:> Compress::Zlib> BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.> ______> > Before upgrade amavisd it worked well..> > Compress::Zlib is installed :> > ______> [EMAIL PROTECTED] IO]# rpm -qa | grep Compress-Zlib> perl-IO-Compress-Zlib-2.011-1.el5.rf> perl-Compress-Zlib-2.011-1.el5.rf> ______> > I use dag repot and rpm package (not cpan !! )> > _____> [EMAIL PROTECTED] IO]# locate Zlib.pm> /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm> /usr/lib/perl5/site_perl/5.8.8/IO/Zlib.pm> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Compress/Raw/Zlib.pm> /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm> /usr/lib/perl5/vendor_perl/5.8.8/IO/Zlib.pm> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Compress/Raw/Zlib.pm> _____> What could i do to resolv this issue?> > Thanks for your help, and sorry for my basic english !! I try to do the best as i can..> > _________________________________________________________________> Devinette: Quel est le moyen le plus rapide pour communiquer ?> http://www.startmessenger.be/fr/index.asp> -------------------------------------------------------------------------> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge> Build the coolest Linux based applications with Moblin SDK & win great prizes> Grand prize is a trip for two to an Open Source event anywhere in the world> http://moblin-contest.org/redirect.php?banner_id=100&url=/> _______________________________________________> 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/





_________________________________________________________________
Partagez gratuitement vos photos de vacances… C'est plus simple avec Windows 
Live Spaces !
http://home.services.spaces.live.com/photos/?mkt=fr-be
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/

Reply via email to