Have anybody successully compiled saslauthd with LDAP support on FreeBSD?

Igor Brezac igor at ipass.net
Tue Aug 27 09:53:52 EDT 2002


On Tue, 27 Aug 2002, Igor Karpov wrote:

> On Fri, Aug 23, 2002 at 09:22:32AM -0400, Igor Brezac wrote:
> >
> > > > What does it say at the bottom of config.log?  You might want to
> > > > 'make distclean' and rerun configure before you check the log file.
> > >
> > > You mean these lines?
> > >
> > > configure:4048: checking to include experimental LDAP support
> > > configure:4067: checking for ldap_initialize in -lldap
> > > configure:4086: gcc -o conftest -g -O2   conftest.c -lldap -llber  1>&5
> > > /usr/libexec/elf/ld: cannot find -lldap
> > > configure: failed program was:
> > > #line 4075 "configure"
> >
> > Configure cannot find ldap libs. Try
> >
> > ./configure --sysconfdir=/usr/local/etc --includedir=/usr/local/include --enable-static --enable-login --with-rc4=openssl --with-ldap=/usr/local --disable-krb4 --disable-gssapi
>
>
> I've grep history and found exactly what you suppose me to:
>
> ./configure --sysconfdir=/usr/local/etc --includedir=/usr/local/include --enable-static --enable-login --with-rc4=openssl --with-ldap=/usr/local --disable-krb4 --disable-gssapi
>
> The only difference is that _today_ it compiles without any problems. I
> bet it didn't three days ago...
>
> Something was changed? I see that Makefile and configure.sasl looks
> updated?
>

There is a small difference; configure option --with-ldap=/usr/local
works now, --with-ldap did not work.

-- 
Igor






More information about the Info-cyrus mailing list