[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Can't compile OpenLDAP 2.1.21 on Solaris 8
Hello,
I am trying to compile OpenLDAP 2.1.21 in Solaris 8 with Sun Workshop 6.1
compiler, but no luck so far. I have built
1. MIT Kerberos 5 rel 1.2.8
2. OpenSSL 0.9.7b
3. Cyrus SASL 2.1.12
which has been configured with `configure --prefix=/usr/local
--sysconfdir=/etc --enable-static --enable-shared --disable-krb4
--enable-gssapi --with-plugindir=/usr/local/lib/sasl2'
I configured OpenLDAP with
`configure --prefix=/usr/local --sysconfdir=/etc --with-cyrus-sasl
--with-tls --enable-static --enable-shared --disable-slapd
--disable-slurpd'.
Then I typed `make depend' and then `make'. After a while I received
the linking problem error listed below. I noticed that the undefined
symbols are mentioned in my `/usr/local/include/gssapi/gssapi.h'. Perhaps
some OpenLDAP source files are missing an include statement?
Can someone help, please? Thanks,
Android
creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
cc -g -I../../include -I../../include -I/usr/local/include
-I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-I/usr/local/include -I/usr/local/ssl/include/openssl
-I/usr/local/ssl/include -c -o apitest.o apitest.c
/bin/sh /export/packages/src/openldap-2.1.21/libtool --mode=link cc
-static -g -L/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/lib -o
apitest apitest.o libldap.la ../../libraries/liblber/liblber.la
../../libraries/liblutil/liblutil.a -lsasl2 -lssl -lcrypto -lresolv
-lgen -lnsl -lsocket -ldl
cc -g -o apitest apitest.o -L/usr/local/lib -L/usr/local/ssl/lib
./.libs/libldap.a
/export/packages/src/openldap-2.1.21/libraries/liblber/.libs/liblber.a
../../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
ild: (undefined symbol) gss_compare_name -- referenced in the text segment
of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_release_name -- referenced in the text segment
of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_acquire_cred -- referenced in the text segment
of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_nt_service_name -- referenced in the text
segment of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_wrap -- referenced in the text segment of
/usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_release_cred -- referenced in the text segment
of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_inquire_context -- referenced in the text
segment of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) db_create -- referenced in the text segment of
/usr/local/lib/libsasl2.a(db_berkeley.o)
ild: (undefined symbol) gss_accept_sec_context -- referenced in the text
segment of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_display_status -- referenced in the text
segment of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_init_sec_context -- referenced in the text
segment of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_unwrap -- referenced in the text segment of
/usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) db_strerror -- referenced in the text segment of
/usr/local/lib/libsasl2.a(db_berkeley.o)
ild: (undefined symbol) gss_import_name -- referenced in the text segment
of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_delete_sec_context -- referenced in the text
segment of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_display_name -- referenced in the text segment
of /usr/local/lib/libsasl2.a(gssapi.o)
ild: (undefined symbol) gss_release_buffer -- referenced in the text
segment of /usr/local/lib/libsasl2.a(gssapi.o)
make[2]: *** [apitest] Error 5
make[2]: Leaving directory
`/export/packages/src/openldap-2.1.21/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/export/packages/src/openldap-2.1.21/libraries'
make: *** [all-common] Error 1