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

Compile error with 2.1.22 version



Hi,

I am trying to install OpenLDAP 2.1.22 in a Solaris 8 box.

I have installed Cyrus-Sasl 2.1.14 software->

/configure --with-bdb-libdir=/usr/local/BerkeleyDB.4.1/lib/
--with-bdb-incdir=/usr/local/BerkeleyDB.4.1/include/
--with-openssl=/usr/local/ssl/ --enable-krb4=no --enable-static --enable-gssapi

The make process finished ok.

After, I execute this sentence for configure & compile OpenLDAP ->

LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/lib/sasl2
-L/usr/local/BerkeleyDB.4.1/lib" CPPFLAGS="-I/usr/local/ssl/include
-I/usr/local/include/sasl -I/usr/local/BerkeleyDB.4.1/include" ./configure
--prefix=/server/openldap-2.1.22 --with-cyrus-sasl --with-tls --enable-crypt
--enable-slapd
--enable-spasswd --disable-cleartext

The configure and 'make depend' works fine but the make process doesn't works
->

[...]
/bin/sh /tmp/openldap-2.1.22/libtool --mode=link gcc -static -g -O2
-L/usr/local/ssl/lib -L/usr/local/lib/sasl2 -L/usr/local/BerkeleyDB.4.1/lib
-o apitest apitest.o libldap.la ../../libraries/liblber/liblber.la
./../libraries/liblutil/liblutil.a -lsasl2  -lssl -lcrypto   -lresolv -lgen
-lnsl -lsocket -ldl
gcc -g -O2 -o apitest apitest.o  -L/usr/local/ssl/lib -L/usr/local/lib/sasl2
-L/usr/local/BerkeleyDB.4.1/lib ./.libs/libldap.a
/tmp/openldap-2.1.22/libraries/liblber/.libs/liblber.a -L/usr/local/lib
-L/usr/lib -L/usr/local/ssl//lib ../../libraries/liblber/.libs/liblber.a
./../libraries/liblutil/liblutil.a /usr/local/lib/libsasl2.a -lssl -lcrypto
-lresolv -lgen -lnsl -lsocket -ldl -R/usr/local/lib
Undefined   first referenced
 symbol        in file
gss_init_sec_context      /usr/local/lib/libsasl2.a(gssapi.o)
db_strerror       /usr/local/lib/libsasl2.a(db_berkeley.o)
gss_inquire_context      /usr/local/lib/libsasl2.a(gssapi.o)
gss_acquire_cred      /usr/local/lib/libsasl2.a(gssapi.o)
gss_compare_name      /usr/local/lib/libsasl2.a(gssapi.o)
gss_display_name      /usr/local/lib/libsasl2.a(gssapi.o)
gss_release_cred      /usr/local/lib/libsasl2.a(gssapi.o)
gss_unwrap       /usr/local/lib/libsasl2.a(gssapi.o)
GSS_C_NT_USER_NAME      /usr/local/lib/libsasl2.a(gssapi.o)
gss_delete_sec_context      /usr/local/lib/libsasl2.a(gssapi.o)
gss_display_status      /usr/local/lib/libsasl2.a(gssapi.o)
gss_release_buffer      /usr/local/lib/libsasl2.a(gssapi.o)
gss_import_name       /usr/local/lib/libsasl2.a(gssapi.o)
gss_wrap       /usr/local/lib/libsasl2.a(gssapi.o)
gss_release_name      /usr/local/lib/libsasl2.a(gssapi.o)
GSS_C_NT_HOSTBASED_SERVICE     /usr/local/lib/libsasl2.a(gssapi.o)
gss_accept_sec_context      /usr/local/lib/libsasl2.a(gssapi.o)
db_create       /usr/local/lib/libsasl2.a(db_berkeley.o)
ld: fatal: Symbol referencing errors. No output written to apitest
collect2: ld returned 1 exit status
make[2]: *** [apitest] Error 1
make[2]: Leaving directory `/tmp/openldap-2.1.22/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/tmp/openldap-2.1.22/libraries'
make: *** [all-common] Error 1



Any ideas?


Thanks for advance


Jordi Garcia Navarrete

T-Systems ITC Services España, S.A.
Admin. Sistemes Area Hosting/Internet-Computing Services