> i am trying to compile clamav 0.60 and clamav-20030806 on a sun solaris
> SPARC box. the make-process went fine with one exeption. trying to
> compile clamav-milter produces some errors which prevent
> code-generation.
> 
> configure options were:
> 
> ./configure --prefix=/usr/local --sysconfdir=/etc --enable-milter
> 
> make uses:
> gcc -g -O2 -Dstrerror_r=strerror -o clamav-milter clamav-milter.o
> ../clamd/cfgfile.o ../clamd/others.o
> -L/export/home/nwicker/Solaris-Softwar
> e/ClamAV/clamav-20030806/libclamav -L/usr/lib/libmilter -lmilter
> -lpthread -lsocket -lnsl -lresolv

I had on RH 7.3 (but i386) similar problem. Sendmail is compiled with
libraries libmilter and libsmutil. I resolve problem with adding
-lsmutil to <clamav source dir>/clamav-milter/Makefile.

I changed line:
LIBS = -L../libclamav -L/usr/lib/libmilter -lclamav -lmilter -lpthread
this way:
LIBS = -L../libclamav -L/usr/lib/libmilter -lclamav -lmilter -lsmutil -lpthread

I hope this can help

Luf


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to