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

undefined symbol: db_create

From: Joseph Koenig <joe_at_creativeanvil.com>
Date: 2007-09-19 21:22:12 CEST

I installed subversion via yum on a CentOS 5 x64 box. Apache 2.2.6 was
already on the box, compiled from source. After modifying the apache
config to add the dav_svn_module, I get the following when trying to
start apache:

Syntax error on line 100 of /usr/local/apache2/conf/httpd.conf: Cannot
load /usr/local/apache2/modules/mod_dav_svn.so into server:
/usr/lib64/libsvn_fs_base-1.so.0: undefined symbol: db_create

I've google'd this and found a lot of others in the past having this
issue, but never found a resolution. I verified that libdb.so exists on
the system - it's in both /usr/lib and /usr/lib64

At this point, I can'f figure out where subversion is looking for it:

# ldd /usr/lib64/libsvn_fs_base-1.so.0
        libsvn_delta-1.so.0 => /usr/lib64/libsvn_delta-1.so.0
(0x00002aaaaace6000)
        libsvn_subr-1.so.0 => /usr/lib64/libsvn_subr-1.so.0
(0x00002aaaaaef0000)
        libaprutil-1.so.0 => /usr/lib64/libaprutil-1.so.0
(0x00002aaaab124000)
        libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x00002aaaab33e000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x00002aaaab565000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002aaaab779000)
        libc.so.6 => /lib64/libc.so.6 (0x00002aaaab994000)
        libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00002aaaabce2000)
        libexpat.so.0 => /lib64/libexpat.so.0 (0x00002aaaabf3c000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00002aaaac15f000)
        librt.so.1 => /lib64/librt.so.1 (0x00002aaaac362000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00002aaaac56b000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaac7a0000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)

Any help would be appreciated. Thanks.

-- 
*Joe Koenig*
*Creative Anvil, Inc.*
*Phone: *314.773.2611
*Fax: *314.773.2942
joe@creativeanvil.com
http://www.creativeanvil.com
Received on Wed Sep 19 21:22:38 2007

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.