[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 2.1.23 build fails



It's not linking in the kerberos libraries.. did you specify
--with-kerberos and --with-kpasswd when you ran configure for openldap?

On Thu, 2003-10-30 at 16:52, jukka-openldap@2003.salmi.ch wrote:
> Hi,
> 
> I'm trying to build OpenLDAP 2.1.23 on a NetBSD 1.6.1 i386 machine.
> I'd like OpenLDAP to use GSSAPI to authenticate. Kerberos (heimdal
> 0.4e) and Cyrus SASL (2.1.15, built with GSSAPI support) libraries
> are installed. But OpenLDAP doesn't build:
> 
> $ ./configure --with-cyrus-sasl --with-spasswd [...]
> [...]
> $ make depend
> [...]
> $ make
> [...]
> cc -O2 -I/usr/pkg/include -Wl,-R/usr/pkg/lib -o apitest apitest.o  -L/usr/pkg/lib ./.libs/libldap.a /home/js/temp/openldap-2.1.23/libraries/liblber/.libs/liblber.a ../../libraries/liblber/.libs/liblber.a ../../libraries/liblutil/liblutil.a /usr/pkg/lib/libsasl2.a -lresolv -lssl -lcrypto
> /usr/pkg/lib/libsasl2.a(dlopen.o)(.data+0x8): undefined reference to `gssapiv2_server_plug_init'
> /usr/pkg/lib/libsasl2.a(dlopen.o)(.data+0x14): undefined reference to `gssapiv2_client_plug_init'
> *** Error code 1
> 
> Stop.
> make: stopped in /home/js/temp/openldap-2.1.23/libraries/libldap
> *** Error code 1
> [...]
> 
> 
> Help is appreciated!
> 
> TIA, Jukka
-- 
Edward Rudd <eddie@omegaware.com>
Home Page <http://urkle.drip.ws/>

Attachment: signature.asc
Description: This is a digitally signed message part