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

Re: FW: configure: error: Berkeley DB not found

From: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2004-10-04 19:53:47 CEST

On 2004-10-04 14:34+0200, Mark Scheufele wrote:

> [root@majestix:...subversion-1.1.0-rc3]#./configure
> --prefix=/usr/local/stow/subversion-1.1.0-rc3
> --with-berkeley-db="/usr/local/db-4.2.52.NC"
>
> The berkeley db include files and libraries are available under:
>
> [root@majestix:...subversion-1.1.0-rc3]#ls /usr/local/db-4.2.52.NC/[i,l]*
> /usr/local/db-4.2.52.NC/include:
> db.h db_cxx.h
>
> /usr/local/db-4.2.52.NC/lib:
> libdb-4.2.a libdb-4.2.la libdb-4.2.so libdb-4.so libdb.a libdb.so
>
> But still they aren't found!
>
...
> checking db.h usability... yes
> checking db.h presence... yes
> checking for db.h... yes
...
> checking db.h usability... yes
> checking db.h presence... yes
> checking for db.h... yes
> checking for -ldb... No
>
> Any ideas?,

Your linker can't find your libraries, set following and test if it
helps:

env LDFLAGS="-L/usr/local/db-4.2.52.NC/lib" \
LD_LIBRARY_PATH="/usr/local/db-4.2.52.NC/lib" \
./configure ...

BR, Jani

-- 
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 4 19:54:14 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.