Error in install-Clam-SA

Julian Field MailScanner at
Tue May 16 16:18:46 IST 2006

On 16 May 2006, at 14:46, Denis Beauchemin wrote:

> Denis Beauchemin a écrit :
>> I just used the latest install-Clam-SA script on a brand new RHEL  
>> 4 server and I got the following errors about Clam:
>> ...
> I reran the install script and looked more closely at the output:  
> turns out I was missing zlib-devel.
> After installing it Clam installed OK.
> Julian, could you check for zlib-devel before installing ClamAV?

I just tried building ClamAV without zlib.a there at all, and it  
built just fine.
I don't think that is the problem.

Just for the record, here is a little shell script that will test for  
the presence of a devel library.


mkdir -p $TMPDIR
echo 'int main(void) { return 0; }' > $TMPDIR/try.c
if cc -o $TMPDIR/try $TMPDIR/try.c -lz >/dev/null 2>&1 ; then
   echo It succeeded. Zlib-devel is installed.
   echo It failed. Zlib-devel is not installed.
rm -rf $TMPDIR

Julian Field
Buy the MailScanner book at
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

More information about the MailScanner mailing list