ClamAVModule Not Found ...

Mike Kercher mkercher at nfsmith.com
Fri Jun 15 20:42:58 IST 2007


Try running ldconfig and try again. 


-Mike 
______________________

  ROFL:ROFL:ROFL:ROFL
         __^__
 L    __/   []\
LOL===_        \
 L     \________]
         I   I
        -------/


-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Rob Poe
Sent: Thursday, June 14, 2007 5:15 PM
To: mailscanner at lists.mailscanner.info
Subject: ClamAVModule Not Found ...

On a (actually, two) Centos 4.x box I'm now having the same issue I had
on the Centos 3.x box.

Clam 0.90.3
MailScanner 4.60.8-1

The Mail::ClamAV failed to compile in CPAN, but compiled well outside of
CPAN .. to the make / make install

CPAN now reports it is up to date, but in MailScanner I get 

Jun 14 17:05:23 mail MailScanner[30466]: ClamAV Perl module not found,
did you install it? 

Cleaned up the install, retried it in CPAN -- this is what I get 

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/Mail-ClamAV....
#   Failed test 'use Mail::ClamAV;'
#   at t/Mail-ClamAV.t line 9.
#     Tried to use 'Mail::ClamAV'.
#     Error:  Had problems bootstrapping Inline module 'Mail::ClamAV'
#
# Can't load
'/root/.cpan/build/Mail-ClamAV-0.20/blib/arch/auto/Mail/ClamAV/ClamAV.so
' for module Mail::ClamAV: libclamav.so.2: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
#  at /usr/lib/perl5/site_perl/5.8.5/Inline.pm line 500 # # #  at
/root/.cpan/build/Mail-ClamAV-0.20/blib/lib/Mail/ClamAV.pm line 173 #
BEGIN failed--compilation aborted at t/Mail-ClamAV.t line 9.
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at (eval 3) line 2.
t/Mail-ClamAV....NOK 1"all" is not defined in %Mail::ClamAV::EXPORT_TAGS
at t/Mail-ClamAV.t line 11 Can't continue after import errors at
t/Mail-ClamAV.t line 11 # Looks like you planned 10 tests but only ran
1.
# Looks like you failed 1 test of 1 run.
--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website! 


More information about the MailScanner mailing list