On Mon, Mar 28, 2005 at 10:36:43PM +0200, Evan Pierce said: > Hi all > > On my production boxes I am running 0.83 with clamav-milter with no problem > what so ever. On my home gateway though I run a nightly CVS snapshot - well > almost nightly, it depends on my schedule. For the past 10 days though I am > unable to compile clamav with milter. My setup is as follows: > > Slackware 10.1 > Sendmail 8.13.3 (compiled from source) > Clamav CVS snapshot ( cvs > -d:pserver:[EMAIL PROTECTED]:/cvsroot/clamav co clamav-devel) > Configured as such - configure --enable-milter > Make run as - make > Error I get is as below: > > Making all in clamav-milter > make[2]: Entering directory > `/home/ftp/pub/clamav-dev/clamav-devel/clamav-milter' > /bin/sh ../libtool --mode=link gcc -DSENDMAIL_BIN=\"/usr/sbin/sendmail\" -g > -O2 -lnsl -o clamav-milter cfgparser.o getopt.o memory.o clamav-milter.o > ../libclamav/libclamav.la -lmilter -lnsl -lpthread -lwrap > gcc -DSENDMAIL_BIN=\"/usr/sbin/sendmail\" -g -O2 -o .libs/clamav-milter > cfgparser.o getopt.o memory.o clamav-milter.o > ../libclamav/.libs/libclamav.so -lbz2 /usr/lib/libgmp.so -L/usr/lib > /usr/lib/libcurl.so -L/lib /usr/lib/libidn.so -lssl -lcrypto -ldl -lz > -lmilter -lnsl -lpthread -lwrap -Wl,--rpath -Wl,/usr/local/lib > /usr/lib/libwrap.a(hosts_access.o)(.text+0x64f): In function `host_match': > : undefined reference to `yp_get_default_domain' > collect2: ld returned 1 exit status > make[2]: *** [clamav-milter] Error 1 > make[2]: Leaving directory > `/home/ftp/pub/clamav-dev/clamav-devel/clamav-milter' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/ftp/pub/clamav-dev/clamav-devel' > make: *** [all] Error 2 > > Error only exists when I enable clamav-milter - up until this time I had no > problems compiling and testing clamav. What if anything am I doing wrong or > is configured wrong? I even deleted my entire CVS tree and resynchronised it > incase it was a CVS synch problem, no luck. Home server is a gateway server > on ADSL for 3 machines and doesn't do anything fancy or important. Only > other thing of relevance might be is that it was a slack 9.0 which became > 9.1, 9.2 10.0 and finally 10.1 after successful upgrades and is not a fresh > install.
libwrap on your system is compiled with NIS on your system, but you don't have the NIS stuff installed? Just a guess. Use ./configure --without-tcpwrappers the milter appears to be the only thing that uses tcpwrappers, so this is why it's only triggered for the milter, at least AIUI. -- -------------------------------------------------------------------------- | Stephen Gran | Stealing a rhinoceros should not be | | [EMAIL PROTECTED] | attempted lightly. | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
pgpkKIVpVEGFZ.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
