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

bdb dependency (ITS#2314)



Full_Name: Timofey B. Nickonov
Version: 2.1/HEAD
OS: solaris-2.8/sparc
URL: 
Submission from: (NULL) (212.44.140.14)


Greetings.

When I try to build openldap-HEAD (checkout at Feb 11 2003)
with --enable-bdb=no, I got:

----[ cut ]---
creating .libs/slapdS.c
(cd .libs && gcc -c -fno-builtin -fno-rtti -fno-exceptions "slapdS.c")
rm -f .libs/slapdS.c .libs/slapd.nm .libs/slapd.nmS .libs/slapd.nmT
gcc -g -O2 .libs/slapdS.o -o .libs/slapd main.o daemon.o connection.o search.o
f
ilter.o add.o cr.o attr.o entry.o config.o backend.o result.o operation.o dn.o
c
ompare.o modify.o delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o
ab
andon.o filterentry.o phonetic.o acl.o str2filter.o aclparse.o init.o user.o
rep
l.o lock.o controls.o extended.o kerberos.o passwd.o schema.o schema_check.o
sch
ema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o saslauthz.o
oidm.o starttls.o index.o sets.o referral.o root_dse.o sasl.o module.o mra.o
mod
s.o limits.o backglue.o operational.o matchedValues.o cancel.o version.o
-pthrea
ds  -L/home/ntb/xtrn/gdbm-1.8.0/.libs libbackends.a
../../libraries/libavl/libav
l.a ../../libraries/libldbm/libldbm.a ../../libraries/liblunicode/liblunicode.a
../../libraries/librewrite/librewrite.a ../../libraries/libldif/libldif.a
../../
libraries/liblutil/liblutil.a ../../libraries/libldap_r/.libs/libldap_r.so
/expo
rt/home/ntb/ldap/libraries/liblber/.libs/liblber.so
../../libraries/liblber/.lib
s/liblber.so /home/ntb/xtrn/gdbm-1.8.0/.libs/libgdbm.so -lresolv -lgen -lnsl
-ls
ocket /usr/local/lib/libltdl.so -ldl -R/opt/openldap/lib
-R/home/ntb/xtrn/gdbm-1
.8.0/.libs -R/usr/local/lib
ld: warning: file ../../libraries/liblber/.libs/liblber.so: linked to
/export/ho
me/ntb/ldap/libraries/liblber/.libs/liblber.so: attempted multiple inclusion of
file
Undefined                       first referenced
 symbol                             in file
bdb_cancel                          cancel.o
bdb_abandon                         abandon.o
ld: fatal: Symbol referencing errors. No output written to .libs/slapd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `slapd'
Current working directory /export/home/ntb/ldap/servers/slapd
*** Error code 1
make: Fatal error: Command failed for target `all-common'
Current working directory /export/home/ntb/ldap/servers
*** Error code 1
make: Fatal error: Command failed for target `all-common'
----[ cut ]---

I got this error even when I build it with --enable-ldbm=no --enable-bdb=no

release 2.1.12 (and even cvs tree from Jan 20 2003) has no such problem.

SMTP /Perece/.