OT: Mail::ClamAV

Julian Field MailScanner at ecs.soton.ac.uk
Tue May 17 19:12:16 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Find out where the libclamav.so is installed for starters, it should
have been built by your ClamAV installation/build process.
It will hopefully be in somewhere like /usr/local/lib or something like
that.
Make sure this directory is listed in /etc/ld.so.conf.
If the directory isn't there (and the directory is somewhere sensible)
then add it to that file and run ldconfig to update the ld.so cache file.
If you can find the file installed (it may be called libclamav.so or
libclamav.so.1 for example) and want to know if it is somewhere
"sensible" then mail us back and we will tell if is sounds likely.

You need to have installed ClamAV (and its libraries) before installing
the Mail::ClamAV module. How did you install ClamAV? From source or from
RPM files or what? And where did the RPM files come from?

Matt Kehler wrote:

> I'm in the exact same boat...have a site waiting for their production
> box but can't get it working.
>
> Matt
>
> >>> wright at CYBERVALE.COM 5/17/2005 11:20:37 AM >>>
> Using CentOS.... have you implemented a workaround. I'm preparing for an
> installation on a production box and in dire need of making progress.
>
> ----- Original Message -----
> From: "Matt Kehler" <mkehler at WRHA.MB.CA>
> To: <MAILSCANNER at JISCMAIL.AC.UK>
> Sent: Tuesday, May 17, 2005 1:05 PM
> Subject: Re: OT: Mail::ClamAV
>
>
> > I get the same thing on Redhat ES4.  Tried everything I can think of, no
> > go.  Google found ONE other post about it; person was using Fedora (not
> > sure which), same issue, no resolution.  What OS are you using?
> >
> > Matt
> >
> > >>> wright at CYBERVALE.COM 5/17/2005 11:03:26 AM >>>
> >
> > tried installing through CPAN and got the following error any ideas?
> >
> >
> >
> >
> > Manifying blib/man3/Mail::ClamAV.3pm
> >   /usr/bin/make  -- OK
> > 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....NOK 1#     Failed test (t/Mail-ClamAV.t at line 9)
> > #     Tried to use 'Mail::ClamAV'.
> > #     Error:  Had problems bootstrapping Inline module 'Mail::ClamAV'
> > #
> > # Can't load
> >
> '/root/.cpan/build/Mail-ClamAV-0.17/blib/arch/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.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.17/blib/lib/Mail/ClamAV.pm line
> > 188
> > # BEGIN failed--compilation aborted at
> > /root/.cpan/build/Mail-ClamAV-0.17/blib/lib/Mail/ClamAV.pm line 532.
> > # Compilation failed in require at (eval 1) line 2.
> > "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.
> > t/Mail-ClamAV....dubious
> >         Test returned status 10 (wstat 2560, 0xa00)
> > DIED. FAILED tests 1-10
> >         Failed 10/10 tests, 0.00% okay
> > Failed Test     Stat Wstat Total Fail  Failed  List of Failed
> >
> --------------------------------------------------------------------------
> --
> > ---
> > t/Mail-ClamAV.t   10  2560    10   19 190.00%  1-10
> > Failed 1/1 test scripts, 0.00% okay. 10/10 subtests failed, 0.00%
> > okay.
> > make: *** [test_dynamic] Error 2
> >   /usr/bin/make test -- NOT OK
> > Running make install
> >   make test had returned bad status, won't install without force
> >
> > ------------------------ MailScanner list ------------------------
> > To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> > 'leave mailscanner' in the body of the email.
> > Before posting, read the Wiki (http://wiki.mailscanner.info/)
> <http://wiki.mailscanner.info/%29> and
> > the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> <http://www.jiscmail.ac.uk/lists/mailscanner.html%29.>
> >
> > Support MailScanner development - buy the book off the website!
> >
> >
> > ------------------------ MailScanner list ------------------------
> > To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> > 'leave mailscanner' in the body of the email.
> > Before posting, read the Wiki (http://wiki.mailscanner.info/)
> <http://wiki.mailscanner.info/%29> and
> > the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> <http://www.jiscmail.ac.uk/lists/mailscanner.html%29.>
> >
> > Support MailScanner development - buy the book off the website!
> >
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/)
> <http://wiki.mailscanner.info/%29> and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> <http://www.jiscmail.ac.uk/lists/mailscanner.html%29.>
>
> Support MailScanner development - buy the book off the website!
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/)
> and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> *Support MailScanner development - buy the book off the website!*


--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list