On Wed, Jun 06, 2001 at 10:47:46AM +0200, Margrit.Lottmann@??? wrote:
<snip>
> I've used following definition:
>
> environment = "SHLIB_PATH=/mailadm/mailadm/lib:/usr/lib:/mailadm/sophos/lib"
>
> (I've also attempted
> 'SHLIB_PATH=/mailadm/mailadm/lib:/usr/lib:/mailadm/sophos/lib' and
> "SHLIB_PATH=/mailadm/mailadm/lib\:/usr/lib\:/mailadm/sophos/lib" )
>
> ...amavis can't find libsavi.sl...
Assuming you mean libsavi.so, if it is a non-standard location, then I think
you need to specify "LD_LIBRARY_PATH".
Check the Sophos install readmes, etc. It may be that you are not finding the
virus descriptions (vdl.dat, and *.ide). If they are not where sophos expects
them to be, you need to set "SAV_IDE" to the relevant directory.
Check to see if you can run sweep from the command line (as the user that
is running it for amavis - typically amavis). Try an "ldd /path/to/sweep",
and see if it can't find any libraries.
Cheers
Ivan
--
Ivan Beveridge Systems Architect SportBusiness Group
<ivan@???> http://www.sportbusiness.com
Tel: +44 (0)20 7934 9000 Fax: +44 (0)20 7934 9200