Yahoo Groups archive

Milter-greylist

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

Message

Re: Ldap and milter-greylist

2007-04-14 by Net_Guru_2U

--- In milter-greylist@yahoogroups.com, manu@... wrote:
>
> Net_Guru_2U <markham@...> 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.
> 
> You mean libmilter require -lldap and -llber to link with
> milter-greylist?
> 
> -- 
> Emmanuel Dreyfus
> http://hcpnet.free.fr/pubz
> manu@...
>

Yes.  I had to add -lldap and -llber to the LIBS variable where it was
checking for smfi_register in -lmilter in ./configure to make it
configure and compile.  Apparently when libmilter is built with
APPENDDEF(`confENVDEF', `-DLDAPMAP') and APPENDDEF(`confLIBS',
`-lldap') in the sendmail site.config.m4 you need to include the ldap
stuff for anything else you do with libmilter.

Mark

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.