--- In milter-greylist@yahoogroups.com, Emmanuel Dreyfus <manu@...> wrote: > > 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@... > This sendmail was not sent in a package. I downloaded the latest and one a few versions back source code from sendmail.org. I compiled it to support ldap and milter using the instructions they provide in their readme and other docs. Interestingly enough I also put in the milter for clamav on a machine compiled the same way. The configure on it did not require any tweaks. Now that I think about it though, I compiled libmilter on that machine and was using the milter before I recompiled with ldap support. I will try on a spare machine to recompile clamav milter with a recompiled libmilter which includes the ldap stuff. Mark
Message
Re: Ldap and milter-greylist
2007-04-17 by Net_Guru_2U
Attachments
- No local attachments were found for this message.