Trouble linking to a local built BerkeleyDB
From: Mukund <mukund_at_tessna.com>
Date: 2003-12-29 23:18:57 CET
Hi all
I have a SMP machine with Red Hat Linux 9, and its system installed
I decided to build Subversion 0.35.1 and upgrade to it. Due to a
Subversion's configure wanted Apache httpd's apr-util to use the same BDB
tar xvfz httpd-2.0.48.tar.gz
tar xvfz subversion-0.35.1.tar.gz
Please ignore the --disable-mod-activation part (I have it already
Now, Subversion seems to run okay, but it's linking against both
[root@gateway root]# ldd /usr/local/apache/bin/httpd | grep "libdb"
[root@gateway root]# ldd /usr/local/bin/svn | grep "libdb"
[root@gateway root]# ldd /usr/local/lib/libsvn_fs-1.so.0.0.0 | grep "libdb"
[root@gateway root]# ldd /usr/local/lib/libsvn_swig_py-1.so.0.0.0 | grep "libdb"
--- Creating a repository with svnadmin and using it with mod_dav_svn seems to work, but I don't know which version of BDB is being used. ViewCVS 1.0-dev doesn't work. I get the following message: An Exception Has Occurred Python Traceback Traceback (most recent call last): File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 2722, in main request.run_viewcvs() File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 257, in run_viewcvs self.rootpath, rev) File "/usr/local/viewcvs-1.0-dev/lib/vclib/svn/__init__.py", line 268, in __init__ self.repos = repos.svn_repos_open(rootpath, self.pool) SubversionException: ('bad database version: compiled with 4.2.52, running against 4.0.14', 160000) Can anyone tell me how to fix this and verify that Berkeley DB 4.2.52 is actually being used? Mukund
|
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.