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

python bindings not working with -ldb

From: Michael Kefeder <mike_at_weird-birds.org>
Date: 2002-11-22 19:24:03 CET

Hi

I recently installed subversion and found that the python bindings try to
use db3 instead of db4. Tools like viewcvs and your ./tools/examples arent
working then. The Error python raises says something like "Berkeley db
3.3.11 is used but 4.0.14 is needed". this is because libdb3 and libdb4 are
linked to the svn-libs

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 think most people with more than one berkeley db version installed will
get that error, because db4 is not required explicitly int the makefile
(which it should imho). This error is not obvious because subversion and
the subversion server are fully working even when -ldb is used.

BTW the scripts in ./tools/examples are still using svn_time_from_nts
instead of svn_time_from_cstring, but i think this was about to be fixed
anyways.
Yours
 Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 22 18:56:24 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.