Centos 5.2, MS, perl ClamAV module

David Lee t.d.lee at durham.ac.uk
Thu Nov 27 16:39:36 GMT 2008


I'm aware that the topic of the perl ClamAV module is a frequent one
(because of the unfortunate habit of the clamav software to change its 
interface on each minor release, requiring the perl module maintainer to 
do work).

I've just tried a fresh install (64 bit Intel) of Centos 5.2, MS-4.72.5-1
and install-Clam-SA-latest.tar.gz (install-Clam-0.94.1-SA-3.2.5).

"install-Clam-0.94.1-SA-3.2.5" successfully builds the clamav software 
itself (installing it into "/usr/local/{bin,lib64,etc,include}" (etc.)

It then tries to build the perl ClamAV module, which fails:
    ClamAV.xs:308: error: 'CL_EFSYNC' undeclared (first use in this function)
    ClamAV.xs:321: error: 'CL_ELOCKDB' undeclared (first use in this function)

Looking in the (just previously installed) "/usr/local/include/clamav.h"
shows that "CL_EFSYNC" is commented out, and that "CL_ELOCKDB" doesn't 
seem to exist at all.

So the two clam-related bits of "install-Clam-0.94.1-SA-3.2.5" would seem 
to be inconsistent.

Is the recommendation is that we no longer use the perl ClamAV module and 
instead use "clamd"?

If so, then are all the pieces in place to ensure that the "clamd" module 
is automatically invoked?  (The "chkconfig ..." and "service ... start"
or equivalents?)


-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:  UNIX Team Leader                         Durham University     :
:                                           South Road            :
:  http://www.dur.ac.uk/t.d.lee/            Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :


More information about the MailScanner mailing list