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

Re: Bad database version

From: <quastst_at_in-euro.de>
Date: 2004-10-11 14:33:54 CEST

Thanks Uli, but I've uninstalled BDB 4.1.25 first. Only the old libs in /usr/lib
are left.
ldd -v /usr/local/bin/svnadmin has the following result:

# ldd -v /usr/local/bin/svnadmin
        linux-gate.so.1 => (0xffffe000)
        libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0 (0x40001000)
        libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0 (0x40017000)
        libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0 (0x4001c000)
        libsvn_fs_base-1.so.0 => /usr/local/lib/libsvn_fs_base-1.so.0
(0x40033000)
        libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0 (0x40052000)
        libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0 (0x40106000)
        libaprutil-0.so.0 => /usr/local/apache2/lib/libaprutil-0.so.0
(0x40129000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x432b8000)
        libdb-4.2.so => /usr/local/lib/libdb-4.2.so (0x40155000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x41b40000)
        libapr-0.so.0 => /usr/local/apache2/lib/libapr-0.so.0 (0x40217000)
        librt.so.1 => /lib/librt.so.1 (0x42f3a000)
        libm.so.6 => /lib/libm.so.6 (0x41868000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x42c22000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x42c51000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4193a000)
        libdl.so.2 => /lib/libdl.so.2 (0x41863000)
        libc.so.6 => /lib/libc.so.6 (0x41748000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41000000)

        Version information:
        /usr/local/bin/svnadmin:
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/lib/libsvn_repos-1.so.0:
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/lib/libsvn_fs-1.so.0:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/lib/libsvn_fs_fs-1.so.0:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/lib/libsvn_fs_base-1.so.0:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/lib/libsvn_delta-1.so.0:
                libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
                libpthread.so.0 (GLIBC_2.2) => /lib/libpthread.so.0
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/lib/libsvn_subr-1.so.0:
                libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/apache2/lib/libaprutil-0.so.0:
                libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/lib/libgdbm.so.3:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/lib/libdb-4.2.so:
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/lib/libexpat.so.0:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /usr/local/apache2/lib/libapr-0.so.0:
                libm.so.6 (GLIBC_2.0) => /lib/libm.so.6
                libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
                libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
                libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
                libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
                libpthread.so.0 (GLIBC_2.3.2) => /lib/libpthread.so.0
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.3.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/librt.so.1:
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
                libpthread.so.0 (GLIBC_2.1) => /lib/libpthread.so.0
                libpthread.so.0 (GLIBC_2.0) => /lib/libpthread.so.0
                libpthread.so.0 (GLIBC_PRIVATE) => /lib/libpthread.so.0
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
        /lib/libm.so.6:
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libcrypt.so.1:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libnsl.so.1:
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
        /lib/libpthread.so.0:
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.3.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
        /lib/libdl.so.2:
                libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
                libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
                libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
        /lib/libc.so.6:
                ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
                ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2

It seems that there is no link against BDB 4.1 lib. I've looked there is only
BDB 4.2.52 installed as rpm.
... I made make at subversion sources and get the following message:

libtool: link: warning: `/usr/local/httpd/lib/libaprutil-0.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libapr-0.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libaprutil-0.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libapr-0.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libaprutil-0.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libapr-0.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libaprutil-0.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libapr-0.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libaprutil-0.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libapr-0.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libaprutil-0.la' seems to be moved
libtool: link: warning:
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.1/../../..//libgdbm.la' seems to be moved
libtool: link: warning: `/usr/local/httpd/lib/libapr-0.la' seems to be moved

Is there the reason for my problem?

Greets

Stefan

Quoting Ulrich Eckhardt <eckhardt@satorlaser.com>:

> quastst@in-euro.de wrote:
> > # svnadmin create basis
> > svn: Bad database version: compiled with 4.2.52, running against 4.1.25
>
> Problem is that you have two versions of BDB installed. Assuming Linux, try
> 'ldd svn' to find out where these are located. There are several remedies to
> the problem like uninstalling 4.1(which you should not use for SVN anyways)
> or setting up the dynamic linker so it finds the right version(see 'man
> ld.so').
>
> > I've googled, but didn't find a solution.
>
> Really? Try again, this problem appeared here last week, IIRC!
>
> Uli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 11 14:34:27 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.