SAVI-Perl/Sophos on RedHat Enterprise 4

Julian Field MailScanner at ecs.soton.ac.uk
Thu Mar 3 17:30:47 GMT 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. ]

Try removing the -R option and add /usr/local/Sophos/lib to
/etc/ld.so.conf then run ldconfig.

Peter Bates wrote:

>Hello all...
>
>Sorry, not strictly an MS problem, just wondering if anyone else had
>stumbled over this...
>
>I'm playing with a test box on RHEL4.
>
>Sophos installed fine, and using 'sophos' as the virus scanner, all is
>okay.
>
>However, I normally try and install SAVI-Perl for obvious reasons.
>
>The latest version would appear to be 0.30.
>
>I installed Sophos, and then edited Makefile.PL as normal:
>    'LIBS'      => ['-L/usr/local/Sophos/lib -R/usr/local/Sophos/lib
>-lsavi'],
>
>I run make:
>
>cp SAVI.pm blib/lib/SAVI.pm
>AutoSplitting blib/lib/SAVI.pm (blib/lib/auto/SAVI)
>/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap
>/usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap  SAVI.xs >
>SAVI.xsc && mv SAVI.xsc SAVI.c
>Please specify prototyping behavior for SAVI.xs (see perlxs manual)
>gcc -c  -I. -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
>-pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
>-I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4
>-DVERSION=\"0.30\" -DXS_VERSION=\"0.30\" -fPIC
>"-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE"   SAVI.c
>Running Mkbootstrap for SAVI ()
>chmod 644 SAVI.bs
>rm -f blib/arch/auto/SAVI/SAVI.so
>gcc  -shared -L/usr/local/lib SAVI.o  -o blib/arch/auto/SAVI/SAVI.so
>-L/usr/local/Sophos/lib -R/usr/local/Sophos/lib -lsavi
>gcc: unrecognized option `-R/usr/local/Sophos/lib'
>chmod 755 blib/arch/auto/SAVI/SAVI.so
>cp SAVI.bs blib/arch/auto/SAVI/SAVI.bs
>chmod 644 blib/arch/auto/SAVI/SAVI.bs
>Manifying blib/man3/SAVI.3pm
>
>... it's the 'gcc: unrecognized option' that looks to me that isn't
>actually building the .so shared library... there is, though, a SAVI.so
>in blib/arch/auto/SAVI.
>
>make test shows:
>
>PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
>"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>t/use....Can't load
>'/root/av/sophos/SAVI-Perl-0.30/blib/arch/auto/SAVI/SAVI.so' for module
>SAVI: libsavi.so.3: 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 t/use.t line 8
>
>... it is, however, there.
>
>Running a forced 'make install' and then using 'sophossavi' in
>MailScanner elicits errors about not being able to find SAVI:
>
>Mar  3 16:41:16 james MailScanner[16086]: SAVI Perl module not found,
>did you
>install it?
>
>Anyone else swimming in these dark waters before I try the auth of
>SAVI-Perl?
>
>
>
>--------------------------------------------------------------------------------------------------->
>Peter Bates, Systems Support Officer, IT Services.
>London School of Hygiene & Tropical Medicine.
>Telephone:0207-958 8353 / Fax: 0207- 636 9838
>
>------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) 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 MAQ (http://www.mailscanner.biz/maq/) 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