sophos savi error, solaris, LD_LIBRARY_PATH

shanna leonard ssl at AHSC.ARIZONA.EDU
Sat Mar 13 00:59:23 GMT 2004


could this be added to solaris 9 faq?
solaris 9
was getting mailscanner error:

debug: Current PATH is: /sbin:/usr/local/bin:/bin:/usr/sbin:/usr/bin
debug: Pyzor is not available: pyzor not found
debug: DCCifd is not available: no r/w dccifd socket found.
debug: DCC is not available: no executable dccproc found.
debug: all '*To' addrs:
debug: RBL: success for 1 of 1 queries
debug: running meta tests; score so far=1.27
debug: is spam? score=1.27 required=5 tests=DATE_MISSING,NO_REAL_NAME
Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/SAVI/SAVI.so'
for module SAVI: ld.so.1: /usr/bin/perl: fatal: libsavi.so.3: open
failed: No such file or director
y at /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
 at /opt/MailScanner/lib/MailScanner/SweepViruses.pm line 398
Compilation failed in require at
/opt/MailScanner/lib/MailScanner/SweepViruses.pm line 398


problem is fixed if I add /usr/local/Sophos/lib to LD_LIBRARY_PATH

I am also curious, I see /usr/bin/perl: fatal: which makes me think that
solaris'
perl (/usr/bin/perl) is being called by something instead of the custom
perl I built for Mailscanner (/usr/local/bin/perl)

even though I have /usr/local/bin/perl first in all PATH statements, and
I modified MailScanner's path statement to put /usr/local/bin first...:
# whereis perl
perl: /usr/bin/perl /usr/local/bin/perl

# which perl
/usr/local/bin/perl

ideas?


--
----
MHO
---
shanna leonard
arizona health sciences library
----------------------------------



More information about the MailScanner mailing list