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

Unable to load mod_dav_svn (undefined symbol: apr_memcache_add_server)

From: Michael Eldridge <michael_eldridge_at_epiconline.org>
Date: Fri, 5 Mar 2010 08:44:54 -0800

Hi,

I've compiled and installed Subversion 1.6.9 on CentOS with a custom Apache2 install (located at /usr/local/bin/apache2). When I uncomment mod_dav_svn in httpd.conf and restart Apache I get this error:

Cannot load /usr/local/apache2/modules/mod_dav_svn.so into server: /usr/local/lib/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server

Here's my configure script arguments:

./configure --disable-keychain --disable-mod-activation --with-apr=/usr/local/apache2/bin/apr-1-config --with-apr-util=/usr/local/apache2/bin/apu-1-config --with-apache-libexecdir=/usr/local/apache2/modules --without-serf --without-neon LDFLAGS="-L/usr/local/apache2/libs"

ldd /usr/local/bin/svn outputs:
        libsvn_client-1.so.0 => /usr/local/lib/libsvn_client-1.so.0 (0x00002adb3514f000)
        libsvn_wc-1.so.0 => /usr/local/lib/libsvn_wc-1.so.0 (0x00002adb35394000)
        libsvn_ra-1.so.0 => /usr/local/lib/libsvn_ra-1.so.0 (0x00002adb355da000)
        libsvn_diff-1.so.0 => /usr/local/lib/libsvn_diff-1.so.0 (0x00002adb357e5000)
        libsvn_ra_local-1.so.0 => /usr/local/lib/libsvn_ra_local-1.so.0 (0x00002adb359ef000)
        libsvn_repos-1.so.0 => /usr/local/lib/libsvn_repos-1.so.0 (0x00002adb35bf7000)
        libsvn_fs-1.so.0 => /usr/local/lib/libsvn_fs-1.so.0 (0x00002adb35e1f000)
        libsvn_fs_fs-1.so.0 => /usr/local/lib/libsvn_fs_fs-1.so.0 (0x00002adb36026000)
        libsvn_fs_util-1.so.0 => /usr/local/lib/libsvn_fs_util-1.so.0 (0x00002adb3624c000)
        libsvn_ra_svn-1.so.0 => /usr/local/lib/libsvn_ra_svn-1.so.0 (0x00002adb3644d000)
        libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x0000003b72e00000)
        libsvn_delta-1.so.0 => /usr/local/lib/libsvn_delta-1.so.0 (0x00002adb36676000)
        libsvn_subr-1.so.0 => /usr/local/lib/libsvn_subr-1.so.0 (0x00002adb36881000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000003b72a00000)
        libaprutil-1.so.0 => /usr/local/apache2/lib/libaprutil-1.so.0 (0x00002adb36b3c000)
        libldap-2.3.so.0 => /usr/lib64/libldap-2.3.so.0 (0x0000003b73200000)
        liblber-2.3.so.0 => /usr/lib64/liblber-2.3.so.0 (0x0000003b71a00000)
        libexpat.so.0 => /lib64/libexpat.so.0 (0x0000003b78e00000)
        libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0 (0x00002adb36d5e000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00002adb36f89000)
        librt.so.1 => /lib64/librt.so.1 (0x00002adb3718d000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003b73e00000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002adb37397000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003b71600000)
        libc.so.6 => /lib64/libc.so.6 (0x0000003b71200000)
        libldap-2.4.so.2 => /usr/local/lib/libldap-2.4.so.2 (0x00002adb375b2000)
        liblber-2.4.so.2 => /usr/local/lib/liblber-2.4.so.2 (0x00002adb377f4000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x0000003b75600000)
        libssl.so.6 => /lib64/libssl.so.6 (0x0000003b79a00000)
        libcrypto.so.6 => /lib64/libcrypto.so.6 (0x0000003b75e00000)
        /lib64/ld-linux-x86-64.so.2 (0x0000003b70e00000)
        libgssapi_krb5.so.2 => /usr/local/lib/libgssapi_krb5.so.2 (0x00002adb37a04000)
        libkrb5.so.3 => /usr/local/lib/libkrb5.so.3 (0x00002adb37c2f000)
        libcom_err.so.2 => /lib64/libcom_err.so.2 (0x0000003b74a00000)
        libk5crypto.so.3 => /usr/local/lib/libk5crypto.so.3 (0x00002adb37ec8000)
        libcom_err.so.3 => /usr/local/lib/libcom_err.so.3 (0x00002adb380ee000)
        libkrb5support.so.0 => /usr/local/lib/libkrb5support.so.0 (0x00002adb382f3000)
        libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x0000003b75a00000)

uname -a outputs;
Linux host.domain.lan 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

Any ideas as too what I might be doing wrong? Thanks in advance.
Received on 2010-03-05 17:52:39 CET

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.