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

Re: freebsd questions

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2002-10-28 14:57:53 CET

On Mon, Oct 28, 2002 at 07:34:42AM -0600, Ben Collins-Sussman wrote:
>
> Hey FreeBSD people (Garrett in particular, since he does our port):
>
> So I've just installed totally clean copies of FreeBSD 4.7 on my home
> computer, and on the new, non-broken Thinkpad... and I'm back to a
> problem I had a long time ago.
>
> Basically, I'm having trouble making svn detect Berkeley DB 4.0.
[snip]
> /usr/libexec/elf/ld: cannot find -ldb
>
> Is this something fixable? How does our port work, exactly?

The port works around the problem by manually replacing all occurrences
of "-ldb" with "-ldb4" in the Makefile (or something similar.)

Someone mentioned a while ago that apr-util has to find DB4 and manages
to do it on FreeBSD, so we should just use apr-util's stuff.
Unfortunately apr-util also has checks for other DB libraries mixed in
with that, but I immagine it shouldn't be too difficult to extract the
necessary magic from apr-util and insert it into Subversion.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 28 14:59:06 2002

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.