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

Re: Picking up wrong version of db at link time

From: Richard Curnow <rc_at_rc0.org.uk>
Date: 2003-04-01 23:07:28 CEST

On Tue, Apr 01, 2003 at 12:36:28AM +0200, Tobias Ringstrom wrote:
> It's not a perfect solution, but it beats renaming files while compiling
> subversion (which I too did at first).

Although, it has to be said that none of these file-moving hacks work
unless you've got root access on the machine.

I wonder if there's an alternative fix, where the db libraries get
installed as libdb4.so etc, and all the -ldb entries in subversion's
makefiles are replaced by -ldb4 before building. This would surely
prevent libdb-3.*.so being picked up at link time. (I guess care is
still needed with the db.h include file, though I got the impression
that installing it to appear as <db4/db.h> would do the trick.) I might
give this a go.

Richard.

-- 
Richard P. Curnow | Free software fundamentalist
Weston-super-Mare | 
United Kingdom    | http://www.rc0.org.uk/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 1 23:09:21 2003

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.