ClamAVModule Not Found ...

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

Try running ldconfig and try again. 


 L    __/   []\
LOL===_        \
 L     \________]
         I   I

-----Original Message-----
From: mailscanner-bounces at
[mailto:mailscanner-bounces at] On Behalf Of Rob Poe
Sent: Thursday, June 14, 2007 5:15 PM
To: mailscanner at
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
' for module Mail::ClamAV: cannot open shared object
file: No such file or directory at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/ line 230.
#  at /usr/lib/perl5/site_perl/5.8.5/ line 500 # # #  at
/root/.cpan/build/Mail-ClamAV-0.20/blib/lib/Mail/ 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
# Looks like you failed 1 test of 1 run.
MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website! 

More information about the MailScanner mailing list