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

OpenLDAP compilation



Hi,

after success with DB, KerberosV Cyrus-SASL compilation (pffffiuuuuu :o)))))))) ) i've got THE ultimate problem in compilation with openldap-2.1.12.

the ./configure options are :

env CPPFLAGS=-I/usr/local/BerkeleyDB.4.1/include -I/usr/local/include LDFLAGS=-L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/lib ./configure --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var --with-cyrus-sasl --with-tls --enable-slapd --enable-spasswd --enable-kpasswd --enable-crypt >/tmp/openldap.configure.options

the configure checkings success
quick view in Makefile, ... hummm everything seems to be good so I've ran the ultimate command make (tada) then (arghhhh...)


 make
.....
...

Making all in /home/admin/openldap-2.1.12
  Entering subdirectory include

  Entering subdirectory libraries
Making all in /home/admin/openldap-2.1.12/libraries
  Entering subdirectory liblutil

  Entering subdirectory liblber

  Entering subdirectory liblunicode

  Entering subdirectory libldif

Entering subdirectory libldap
/bin/sh /home/admin/openldap-2.1.12/libtool --mode=link cc -static -g -O2 -L/usr/local/Berk
eleyDB.4.1/lib -L/usr/local/lib -o apitest apitest.o libldap.la ../../libraries/liblber/lib
lber.la ../../libraries/liblutil/liblutil.a -lsasl2 -lkrb4 -ldes425 -lkrb5 -lk5crypto -lcom_e
rr -lssl -lcrypto
cc -g -O2 -o apitest apitest.o -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/lib ./.libs/libl
dap.a /home/admin/openldap-2.1.12/libraries/liblber/.libs/liblber.a ../../libraries/liblber/.
libs/liblber.a ../../libraries/liblutil/liblutil.a /usr/local/lib/libsasl2.a -lresolv -lkrb4
-ldes425 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -Wl,-rpath,/usr/local/lib
db_berkeley.c:85: Undefined symbol `_db_create' referenced from text segment
db_berkeley.c:102: Undefined symbol `_db_strerror' referenced from text segment
db_berkeley.c:122: Undefined symbol `_db_strerror' referenced from text segment
db_berkeley.c:198: Undefined symbol `_db_strerror' referenced from text segment
db_berkeley.c:284: Undefined symbol `_db_strerror' referenced from text segment
db_berkeley.c:296: Undefined symbol `_db_strerror' referenced from text segment
gssapi.c:169: Undefined symbol `_gss_display_status' referenced from text segment
gssapi.c:190: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:209: Undefined symbol `_gss_display_status' referenced from text segment
gssapi.c:230: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:283: Undefined symbol `_gss_wrap' referenced from text segment
gssapi.c:295: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:306: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:322: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:419: Undefined symbol `_gss_unwrap' referenced from text segment
gssapi.c:430: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:443: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:449: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:497: Undefined symbol `_gss_delete_sec_context' referenced from text segment
gssapi.c:502: Undefined symbol `_gss_release_name' referenced from text segment
gssapi.c:507: Undefined symbol `_gss_release_name' referenced from text segment
gssapi.c:512: Undefined symbol `_gss_release_cred' referenced from text segment
gssapi.c:630: Undefined symbol `_gss_nt_service_name' referenced from text segment
gssapi.c:630: Undefined symbol `_gss_import_name' referenced from text segment
gssapi.c:645: Undefined symbol `_gss_release_cred' referenced from text segment
gssapi.c:649: Undefined symbol `_gss_acquire_cred' referenced from text segment
gssapi.c:670: Undefined symbol `_gss_accept_sec_context' referenced from text segment
gssapi.c:685: Undefined symbol `_gss_release_buffer' referenced from text segment
gssapi.c:0: More undefined symbol _gss_release_buffer refs follow
gssapi.c:730: Undefined symbol `_gss_display_name' referenced from text segment
gssapi.c:768: Undefined symbol `_gss_import_name' referenced from text segment
gssapi.c:778: Undefined symbol `_gss_release_name' referenced from text segment
gssapi.c:784: Undefined symbol `_gss_compare_name' referenced from text segment
gssapi.c:794: Undefined symbol `_gss_release_name' referenced from text segment
gssapi.c:800: Undefined symbol `_gss_release_name' referenced from text segment
gssapi.c:872: Undefined symbol `_gss_wrap' referenced from text segment
gssapi.c:918: Undefined symbol `_gss_unwrap' referenced from text segment
gssapi.c:1211: Undefined symbol `_gss_nt_service_name' referenced from text segment
gssapi.c:1211: Undefined symbol `_gss_import_name' referenced from text segment
gssapi.c:1235: Undefined symbol `_gss_delete_sec_context' referenced from text segment
gssapi.c:1250: Undefined symbol `_gss_init_sec_context' referenced from text segment
gssapi.c:1290: Undefined symbol `_gss_inquire_context' referenced from text segment
gssapi.c:1307: Undefined symbol `_gss_display_name' referenced from text segment
gssapi.c:1353: Undefined symbol `_gss_unwrap' referenced from text segment
gssapi.c:1464: Undefined symbol `_gss_wrap' referenced from text segment
collect2: ld returned 1 exit status
*** Error code 1


Stop in /home/admin/openldap-2.1.12/libraries/libldap (line 286 of Makefile).
*** Error code 1


Stop in /home/admin/openldap-2.1.12/libraries (line 268 of Makefile).
*** Error code 1

Stop in /home/admin/openldap-2.1.12 (line 291 of Makefile).

Does somebody has got the same problem just one time in his life :o( ?

thanks

Vincent