[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: Michael Price <mprice_at_atl.lmco.com>
Date: 2003-04-01 23:28:45 CEST

Richard Curnow wrote:
> 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.

The FreeBSD port of BDB does this. You can take a look at
http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/db41 for more
information. The Makefile has some configure options you may want to use
and the 'files' subdirectory contains a few patches you could adapt to
your setup that pick an appropriate library name.


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:31:03 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.