Michael Kefeder <mike@weird-birds.org> writes:
> To fix that i had to set
> SVN_APRUTIL_LIBS = -ldb-4
> SVN_DB_LIBS = -ldb-4
> instead of just -ldb in the svn Makefile and rebuild everything.
I am the one who told Michael to do that in IRC. I have meant to
complain about this for a long time, but always held back because
i'd never seen it cause an actual problem. For svn to ask for
-ldb is a lie; svn requires a specific version, not just any
version. The libdb-4.0.so, libdb-4.1.so, and libdb-4.so symlinks
are provided for a reason. If svn can take either db-4.0 or
db-4.1 with no changes, it should ask for -ldb-4; if it has
ifdefs to behave differently for one of the other, it needs to
ask for the one it is configured for (i.e. -ldb-4.0 or -ldb-4.1).
The current state where svn lies by saying any old db version is
troublesome.
apr-util needs to do the same thing. If it decides to use db-4
it needs to specify -ldb-4.
> I think most people with more than one berkeley db version
> installed will get that error, because db4 is not required
> explicitly int the makefile
Right.
--
Eric Gillespie <*> epg@pretzelnet.org
Build a fire for a man, and he'll be warm for a day. Set a man on
fire, and he'll be warm for the rest of his life. -Terry Pratchett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 22 20:18:17 2002