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

OpenLDAP 2.1.23 build fails


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

make: stopped in /home/js/temp/openldap-2.1.23/libraries/libldap
*** Error code 1

Help is appreciated!

TIA, Jukka

bashian roulette:
$ ((RANDOM%6)) || rm -rf ~