[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: David Summers <david_at_summersoft.fay.ar.us>
Date: 2005-04-17 21:34:58 CEST

On Sun, 17 Apr 2005, Philip Martin wrote:

> 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
> apu-config:
> $ 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.

Ah, that is a big clue. I'm trying to build on WhiteBox Enterprise
Linux/RedHat Enterprise Linux which has the APR/APR-UTIL packages built-in
to the httpd package.

Thanks for the clue. Maybe I can hack the build procedure, after it is
configured, to take out that -ldb reference.

David Wayne Summers        "Linux: Because reboots are for hardware upgrades!"
david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  0B44 B118 85CC F4EC 7021  1ED4 1516 5B78 E320 2001
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:35:42 2005

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