Make sure, you hava only one Zlib.pm  in your perl folder.

i.e. something like this: (on my CentOS5)

/usr/lib/perl5/vendor_perl/5.8.8/Compress
/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib
/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix


If you haev oter folders with older Compress/Zlib folders, get rid of them 
or rename them. It looks like your amavisd is looking in the wrong place.

It is best to only have one installation of the perl-modules.

Hope this helps,

.peter


On Thu, 13 Mar 2008, Voytek Eymont wrote:

>
> On Thu, March 13, 2008 5:33 pm, [EMAIL PROTECTED] wrote:
>
> peter, thanks
>
>> It looks like you are running RHEL4. WHy don't you just uninstall the
>> perl module like this:
>> rpm -e perl-Compress-Zlib
>> if it won't do that use:
>> rpm -e --nodeps perl-Compress-Zlib
>
> so far so good
>
>> And then reinstall the package with
>> up2date -i perl-Compress-Zlib
>> or if you have the dag wieers repo:
>> yum install perl-Compress-Zlib
>
> yes, I use Dag Wieers rpms
>
>> That way you stay compatible with the rest of your installation. If you
>> do want to use cpan (which is a good idea sometimes) then use cpan2rpm for
>>  installing perl modules. Again that will keep your package db in good
>> order.
>
> but, I'm still failing....:
>
> # rpm -e perl-Compress-Zlib
> error: Failed dependencies:
>        perl(Compress::Zlib) is needed by (installed)
> perl-Archive-Zip-1.20-1.el4.rf.noarch
>        perl(Compress::Zlib) is needed by (installed)
> perl-Filter-1.34-1.el4.rf.i386
>        perl(Compress::Zlib) is needed by (installed)
> amavisd-new-2.5.2-1.el4.rf.i386
>        perl(Compress::Zlib) >= 1.35 is needed by (installed)
> amavisd-new-2.5.2-1.el4.rf.i386
>
> # rpm -e --nodeps perl-Compress-Zlib
>
> # yum install perl-Compress-Zlib
> Loading "fastestmirror" plugin
> Setting up Install Process
> Setting up repositories
> kbs-CentOS-Extras         100% |=========================|  951 B    00:00
> update                    100% |=========================|  951 B    00:00
> base                      100% |=========================| 1.1 kB    00:00
> addons                    100% |=========================|  951 B    00:00
> extras                    100% |=========================| 1.1 kB    00:00
> Loading mirror speeds from cached hostfile
> Reading repository metadata in from local files
> Parsing package install arguments
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Downloading header for perl-Compress-Zlib to pack into transaction set.
> perl-Compress-Zlib-1.42-1 100% |=========================| 4.9 kB    00:00
> ---> Package perl-Compress-Zlib.i386 0:1.42-1.el4 set to be updated
> --> Running transaction check
>
> Dependencies Resolved
>
> =============================================================================
> Package                 Arch       Version          Repository        Size
> =============================================================================
> Installing:
> perl-Compress-Zlib      i386       1.42-1.el4       base               54 k
>
> Transaction Summary
> =============================================================================
> Install      1 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> Total download size: 54 k
> Is this ok [y/N]: y
> Downloading Packages:
> (1/1): perl-Compress-Zlib 100% |=========================|  54 kB    00:00
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>  Installing: perl-Compress-Zlib           ######################### [1/1]
>
> Installed: perl-Compress-Zlib.i386 0:1.42-1.el4
> Complete!
>
> # amavisd --version
> ERROR: MISSING REQUIRED BASIC MODULES:
>  Compress::Zlib
> BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.
> #
>
>
> --
> Voytek
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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