subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@wandisco.com>
Subject Re: Configuring Subversion with Berkeley DB Error: configure: error: Berkeley DB 4.0.14 or 5.x wasn't found
Date Fri, 06 Feb 2015 19:58:52 GMT
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

Mime
View raw message