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

Re: Configuring Subversion with Berkeley DB Error: configure: error: Berkeley DB 4.0.14 or 5.x wasn't found

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 06 Feb 2015 20:58:52 +0100

On 06.02.2015 19:14, kay wrote:
> I set the LD_LIBRARY_PATH as follows:
>
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/local/lib:/usr/sfw/lib/:/usr/local/BerkeleyDB.5.3/lib
> export LD_LIBRARY_PATH
>
> and also have the below in my ./configure as suggested by Brane
>
> --with-berkeley-db=/usr/local/BerkeleyDB.5.3/include/db.h:/usr/local/BerkeleyDB.5.3/include:/usr/local/BerkeleyDB.5.3/lib:db-5.3
>
> Moved past the initial error with the two steps

Your previous configure option said to look for the db-5.3 library in
.../lib/db43, which is why the 5.3 library wasn't found. Also, you don't
have to put the whole path to the header as the first parameter, just
the file name, since the second parameter is the include path.

Anyway, since it works, all's well.

By the way, is there any particular reason you need the BDB back-end?
It's been deprecated for a while now; see

http://subversion.apache.org/docs/release-notes/1.8.html#bdb-deprecated

-- Brane
Received on 2015-02-06 20:59:30 CET

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