ClamAVModule Not Found ...
Jeroen Koekkoek
jtm.koekkoek at home.nl
Thu Jun 14 23:50:11 IST 2007
Hi,
Did you include the Inline Perl module. I recently build some Debian
packages for MailScanner 4.60.8 (Inline is a build dependency) and
discovered that when the Inline module is missing Mail::ClamAV is not
found. Tn other words, the Inline module is needed for Mail::ClamAV to
work. Maybe this helps.
Regards, Jeroen
On Thu, 2007-06-14 at 17:14 -0500, Rob Poe wrote:
> 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.
More information about the MailScanner
mailing list