[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Building without Berkeley DB

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-04-17 21:31:05 CEST

David Summers <david@summersoft.fay.ar.us> writes:

> time.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo
> /usr/lib/libaprutil-0.la -ldb -lexpat /usr/lib/libapr-0.la -lrt -lm
> -lcrypt -lnsl -ldl
> /usr/bin/ld: cannot find -ldb
> collect2: ld returned 1 exit status
> make[1]: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
> make[1]: Leaving directory `/home/david/rpms/build/subversion-1.3.0'
> error: Bad exit status from /home/david/rpms/tmp/rpm-tmp.43782 (%build)
> The only difference I can think of is that last time when I built I
> may have not actually deleted the BDB 4.2 RPM I had installed.
> Why is it trying to link to BDB when I told it not to?

From it's position in the link command I would say it's coming from

$ grep ldb Makefile
SVN_APRUTIL_LIBS = /usr/local/apache2/lib/libaprutil-0.la -ldb -lexpat

$ /usr/local/apache2/bin/apu-config --link-libtool --libs
 /usr/local/apache2/lib/libaprutil-0.la -ldb -lexpat

I guess you need to build apr-util without bdb but I've never tried to
do that.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 17 21:31:59 2005

This is an archived mail posted to the Subversion Dev mailing list.