Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Ldap and milter-greylist

2007-04-17 by Emmanuel Dreyfus

On Tue, Apr 17, 2007 at 08:18:13AM -0700, Mark Hamilton wrote:
> > > > When I tried to run ./configure I kept getting the "Required libmilter
> > > > not found. Use --with-libmilter" error even when I supplied the
> > > > correct path. So, I started looking through the config.log and found
> > > > that libmilter uses some stuff from ldap if you compile sendmail with
> > > > ladp. So not knowing much about automake I just tweaked the configure
> > > > to include -lldap -llber in two places.

Here is the relevant snipet:
configure:7710: gcc -o conftest -g -O2 -Wall   conftest.c -lmilter   -lpthread -
lresolv -lnsl >&5
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../libmilter.a(errstring.o)(.text+
0xda): In function `sm_errstring':
: undefined reference to `ldap_err2string'

I'm more and more convinced this is a problem with your libmilter build: 
libmilter is a static library (.a), which should include all the symbols it
needs. For instance, sm_errstring is in libsm, but libmilter includes it.

So IMO, it should also include ldap_err2string from libldap.

Anyone has an opinion on this topic? Can you talk to your package maintainer
to get some insightful opinions?

-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.