You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Reser <be...@reser.org> on 2004/07/02 06:14:24 UTC

Re: [Bug] svnversion: relocation error: /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno

On Thu, May 27, 2004 at 09:54:28PM +0200, TheDD wrote:
> I've just downloaded:
> http://subversion.tigris.org/tarballs/subversion-1.0.4.tar.bz2
> 
> and i have done:
> $ tar xvjf subversion-1.0.4.tar.bz2
> $ cd subversion-1.0.4
> $ ./configure
> $ make
> $ su
> # make install
> 
> $ svnversion
> svnversion: relocation error: /usr/lib/libaprutil-0.so.0: undefined symbol: gdbm_errno
> 
> There were no errors in the compilation process. I only want the client,
> so i don't need apache (but have one).
> 
> Some informations:
> 
> $ ldd -d $(which svnversion)
>         linux-gate.so.1 =>  (0xffffe000)
>         libsvn_client-1.so.0 => /usr/local/lib/libsvn_client-1.so.0 (0x40018000)
>         libsvn_wc-1.so.0 => /usr/local/lib/libsvn_wc-1.so.0 (0x40032000)
>         libsvn_ra-1.so.0 => /usr/local/lib/libsvn_ra-1.so.0 (0x40050000)
>         libsvn_ra_local-1.so.0 => /usr/local/lib/libsvn_ra_local-1.so.0 (0x40054000)
>         libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0 (0x40058000)
>         libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0 (0x4006a000)
>         libsvn_ra_dav-1.so.0 => /usr/local/lib/libsvn_ra_dav-1.so.0 (0x40087000)
>         libsvn_ra_svn-1.so.0 => /usr/local/lib/libsvn_ra_svn-1.so.0 (0x40098000)
>         libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0 (0x400a4000)
>         libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0 (0x400c3000)
>         libsvn_diff-1.so.0 => /usr/local/lib/libsvn_diff-1.so.0 (0x400ca000)
>         libaprutil-0.so.0 => /usr/lib/libaprutil-0.so.0 (0x400e1000)
>         libdb-4.1.so => /usr/lib/libdb-4.1.so (0x400f7000)
>         libapr-0.so.0 => /usr/lib/libapr-0.so.0 (0x401c4000)
>         librt.so.1 => /lib/tls/librt.so.1 (0x401e5000)
>         libm.so.6 => /lib/tls/libm.so.6 (0x401fa000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x4021d000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x4024a000)
>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4025d000)
>         libdl.so.2 => /lib/libdl.so.2 (0x4026d000)
>         libneon.so.24 => /usr/local/lib/libneon.so.24 (0x40270000)
>         libz.so.1 => /lib/libz.so.1 (0x40288000)
>         libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40299000)
>         libc.so.6 => /lib/tls/libc.so.6 (0x402ba000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> undefined symbol: gdbm_errno    (/usr/lib/libaprutil-0.so.0)
> 
> My system is a mdk 10.0 Community pre-official.
> 
> NB: plz do not publish my email.
> NB2: attached is config.log

That's a really odd problem.  Your apu-config is returning:
SVN_APRUTIL_EXPORT_LIBS=' -L/var/samba_public/subversion-1.0.4/apr-util -laprutil-0 -ldb-4.1 -lexpat'

Which is missing the -lgdbm.  My guess would be that you're missing the
libgdbm2-devel package.  Which causes apr-util to try and not use gdbm
but they have a bug where they still use gdbm_errno anyway...

So if there's a bug my guess it would be in apr-util, which we just
happen to include in our tree.

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org