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

Re: Where oh where has my Berkeley DB gone? (Issue 544)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-01 17:34:26 CET

Greg Stein <gstein@lyra.org> writes:

> > One guess: do you need to add /usr/local/BerkeleyDB.3.3/lib to your
> > library search path (LD_LIBRARY_PATH or /etc/ld.so.conf)?
>
> This latter issue is what got me when I set up my new box at work. I had
> forgotten to add it to ld.so.conf and run ldconfig first. When configure
> tried to link against the library to check its version... blam! No workie.
> So configure assumed the library wasn't there after all.

I've been building on FreeBSD for ages, and I've had the same problem
as Fitz for quite a while. I've been building DB "inline" for eons
just to avoid the problem.

But yes, in your /etc/rc.conf, you can override the variable
${ldconfig_paths} that is normally set in /etc/defaults/rc.conf:

  ldconfig_paths="${ldconfig_paths} /usr/local/BerkeleyDB.3.3.11/lib"

This is what we did on our FreeBSD test box. Dunno how Darwin works
though. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:47 2006

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

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