After upgrading Mail-ClamAV: ClamAV Perl module not found,
did you install it?
Andrews Carl 455
Carl.Andrews at crackerbarrel.com
Mon Feb 19 20:49:26 CET 2007
I had the same problem upgrading from 0.88.7. I had to revert back to
the old version. I have not had a chance to try to fix it yet. Maybe
this will help:
MailScanner --version
Running on
Linux mdaemon.crackerbarrel.com 2.4.21-47.0.1.EL #1 Thu Oct 19 11:42:25
EDT 2006 i686 i686 i386 GNU/Linux
This is CentOS release 3.8 (Final)
This is Perl version 5.008000 (5.8.0)
This is MailScanner version 4.57.6
Module versions are:
1.00 AnyDBM_File
1.16 Archive::Zip
1.01 Carp
1.119 Convert::BinHex
1.00 DirHandle
1.04 Fcntl
2.71 File::Basename
2.05 File::Copy
2.01 FileHandle
1.05 File::Path
0.13 File::Temp
0.90 Filesys::Df
1.35 HTML::Entities
3.54 HTML::Parser
2.37 HTML::TokeParser
1.20 IO
1.09 IO::File
1.122 IO::Pipe
1.71 Mail::Header
3.05 MIME::Base64
5.420 MIME::Decoder
5.420 MIME::Decoder::UU
5.420 MIME::Head
5.420 MIME::Parser
3.03 MIME::QuotedPrint
5.420 MIME::Tools
0.10 Net::CIDR
1.05 POSIX
1.75 Socket
1.4 Sys::Hostname::Long
0.08 Sys::Syslog
1.9704 Time::HiRes
1.02 Time::localtime
Optional module versions are:
0.17 Convert::TNEF
1.806 DB_File
1.12 DBD::SQLite
1.50 DBI
1.00 Digest
1.01 Digest::HMAC
2.20 Digest::MD5
2.10 Digest::SHA1
0.44 Inline
0.17 Mail::ClamAV
3.001007 Mail::SpamAssassin
1.997 Mail::SPF::Query
0.15 Net::CIDR::Lite
1.24 Net::IP
0.48 Net::DNS
0.33 Net::LDAP
1.94 Parse::RecDescent
missing SAVI
2.26 Test::Harness
0.47 Test::Simple
1.89 Text::Balanced
1.35 URI
-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info]On Behalf Of Keith
Wessel
Sent: Monday, February 19, 2007 1:31 PM
To: MailScanner discussion
Subject: Re: After upgrading Mail-ClamAV: ClamAV Perl module not
found,did you install it?
Hello,
A little more to go on...
First, MailScanner's running as root, so it's definitely not a
permissions problem.
I went ahead and put a "require Mail::ClamAV" at the top of my
/usr/sbin/MailScanner to see what would happen, and I got the following.
Looks like the Perl module can't find libclamav.so.1 (installed under
/usr/local/lib which I added to ld.so.conf). Even with /usr/local/lib in
ld.so.conf, I still get:
MailScanner: Had problems bootstrapping Inline module
'Mail::ClamAV'
Can't load
'/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Mail/ClamAV
/ClamAV.so'
for module Mail::ClamAV: libclamav.so.1: cannot open shared object file:
No such file or directory at
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229.
at /usr/lib/perl5/site_perl/5.8.0/Inline.pm line 500
at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Mail/ClamAV.pm
line 188
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Mail/ClamAV.pm
line 532.
Compilation failed in require at /usr/sbin/MailScanner line 38.
Any thoughts from anyone on how to tell the Perl module where
libclamav.so.1 is?
Thanks,
keith
On Mon, Feb 19, 2007 at 07:12:07PM +0100, Glenn Steen wrote:
> On 19/02/07, Keith Wessel <kwessel at intenex.net> wrote:
> >Hi,
> >
> >Nope, not running an RPM of ClamAV. In fact, because of my RHEL3 box
not
> >giving me the latest and greatest, I find it safer to run things like
> >ClamAV compiled myself.
> Good strategy
>
> >clamsan --version reports:
> >ClamAV 0.88.7/2605/Mon Feb 19 10:42:14 2007
> Looks Ok.
>
> >It appears that MailScanner simply isn't finding the module. (and a
look
> >at the MailScanner source code indicates that the ClamAV Perl module
not
> >found log message is only generated when a 'require Mail::ClamAV'
fails.
> >
> >Any other thoughts on why it's not finding it?
> I surely don't know, but ... Do you perhaps run your MTA as another
> user than what you tested the require as? And that user might be
> having some strange, perhaps permission-related, problem
> finding/reading the module?
>
> --
> -- Glenn
> email: glenn < dot > steen < at > gmail < dot > com
> work: glenn < dot > steen < at > ap1 < dot > se
> --
> 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!
--
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