Date: Wed, 10 Sep 2003 21:39:40 -0500 From: "Scot W. Hetzel" <hetzelsw@westbend.net> To: "Scot W. Hetzel" <hetzelsw@westbend.net>, <elitetek@tekrealm.net>, <ports@freebsd.org> Subject: Re: security/amavisd 1.0 problem Message-ID: <073f01c3780d$f7f2ac50$11fd2fd8@westbend.net> References: <20030909020143.GA25505@freebsd.tekrealm.net> <068001c37739$b3677950$11fd2fd8@westbend.net>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Scot W. Hetzel" <hetzelsw@westbend.net> > From: "Andrew Stuart" <elitetek@tekrealm.net> > > It appears with the recent upgrade to 1.0, that amavisd is broken when > > you build with_milter. attached is the section of the configure error, > > anyone know how to fix this off hand? > > > > checking for libmilter/mfapi.h... yes > > checking for smfi_main in -lmilter... no > > configure: error: milter requested but not found > > > Your missing the libsm.a library, so you need to compile and install it by > doing the following: > I found the correct solution. There is a bug in the amavisd configure script, where it would always add "-lsm" even if the test for sm_strlcpy would fail. The problem is that the LIB assignment should have been placed in to the HAVE_SM_SM_STRLCPY test. I have submited a patch to correct this in PR 56658. Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?073f01c3780d$f7f2ac50$11fd2fd8>