amavisd-new start error

I install Amavisd-new 2.1.2 in Redhat 9.0
When I start amavisd, it show me the folloing error:
Starting amavisd: Problem in Amavis::DB or Amavis::DB::SNMP code: Can't locate BerkeleyDB.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/per
l5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0) at (eval 34) line 11.
BEGIN failed--compilation aborted at (eval 34) line 11.

I have updated perl to 5.8.5
[root@localhost download]# perl -v
This is perl, v5.8.5 built for i686-linux

and install the modules BerkeleyDB
cpan>install BerkeleyDB
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 02 Nov 2004 20:13:16 GMT
BerkeleyDB is up to date.

Anyone give me a hand?
LVL 1
alsonluoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jlevieCommented:
"@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi" tends to indicate that the RH9 copy of Perl 5.8.0 is still installed and is what amavisd is trying to use. The quick fix for the missing BerkeleyDB perl module is to install the perl-DB-file package from your RH 9 CD's.
0
alsonluoAuthor Commented:
I installed the perl-DB-File module
cpan>minstall DB_File
DB_File is up to date.
0
jlevieCommented:
That's not the same as installing the perl-DB-file package from your RedHat distribution. I'd guess that using cpan for the installation places the module in /usr/local, which isn't here the system copy (5.8.0) is looking. Short of completely removing the RedHat copy of Perl and replacing it with a later version (which is going to lead to breaking a number of things) you need to stick with the RedHat version if you want to use AmaVis
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Security

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.