After upgrading Mail-ClamAV: ClamAV Perl module not found, did you install it?

Keith Wessel kwessel at intenex.net
Mon Feb 19 21:14:15 CET 2007


Oh, my... It's been a long day, aparently. Yes, Denis, I forgot
ldconfig. (Duh!) Thanks!!!

So, for the records, the soltuion was to add /usr/local/lib to the
/etc/ld/so/conf file *AND* run ldconfig. After that, the Perl module
initializes fine, and MailScanner's happy!

(And so is the sysadmin!)

Thanks, everyone,
Keith

On Mon, Feb 19, 2007 at 02:47:03PM -0500, Denis Beauchemin wrote:
> Keith Wessel a écrit :
> >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
> >  
> Keith,
> 
> Have you run ldconfig after modifying ld.so.conf?
> 
> Denis
> 
> -- 
>   _
>  °v°   Denis Beauchemin, analyste
> /(_)\  Université de Sherbrooke, S.T.I.
>  ^ ^   T: 819.821.8000x62252 F: 819.821.8045
> 
> 



> -- 
> 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