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

Error building subversion-1.7.4 mod_dav_svn.so with my own apr and apr-utils

From: Joel Eidsath <jeidsath_at_gmail.com>
Date: Tue, 3 Apr 2012 09:17:41 -0700

I would love some help on this one. I have included my ldd info, as
well as my configure lines for apr, apr-util, httpd, and subversion.
Let me know if you have a guess about what is going wrong.

Also, please include me on replies as I am not a member of the list.

Joel Eidsath
jeidsath_at_gmail.com

I am getting the following error when trying to start apache after
building mod_dav_svn.so:

~/httpd/bin/apachectl restart --

httpd: Syntax error on line 54 of
/ngs/app/istsvnd/httpd-2.2.21/conf/httpd.conf: Cannot load /ngs/ap
p/istsvnd/httpd/modules/mod_dav_svn.so into server:
/ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_sub
r-1.so.0: undefined symbol: apr_atomic_xchgptr

Everything looks good on mod_dav_svn.so with ldd (notice libaprutil
and libapr lines, also notice the versions):

ldd /ngs/app/istsvnd/httpd/modules/mod_dav_svn.so --

        linux-vdso.so.1 => (0x00007fffdf9ff000)
        libsvn_repos-1.so.0 =>
/ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_repos-1.so.0
(0x00007f63da0f1000)
        libsvn_fs-1.so.0 =>
/ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_fs-1.so.0
(0x00007f63d9ee9000)
        libsvn_fs_fs-1.so.0 =>
/ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_fs_fs-1.so.0
(0x00007f63d9cc1000)
        libsvn_fs_util-1.so.0 =>
/ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_fs_util-1.so.0
(0x00007f63d9abf000)
        libsvn_delta-1.so.0 =>
/ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_delta-1.so.0
(0x00007f63d98b2000)
        libsvn_subr-1.so.0 =>
/ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_subr-1.so.0
(0x00007f63d95df000)
        libaprutil-1.so.0 =>
/ngs/app/istsvnd/apr-util-1.4.1/lib/libaprutil-1.so.0
(0x00007f63d93be000)
        libapr-1.so.0 => /ngs/app/istsvnd/apr-1.4.6/lib/libapr-1.so.0
(0x00007f63d9191000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007f63d8f83000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f63d8d7a000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f63d8b41000)
        libexpat.so.0 => /lib64/libexpat.so.0 (0x00007f63d891f000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x00007f63d870b000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f63d8506000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f63d82eb000)
        libmagic.so.1 => /usr/lib64/libmagic.so.1 (0x00007f63d80dc000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f63d7d84000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f63da546000)

Apr configure line:

./configure --prefix=/ngs/app/istsvnd/apr-1.4.6

Apr-util configure line:

./configure --with-ldap
--with-apr=/ngs/app/istsvnd/apr/bin/apr-1-config
--prefix=/ngs/app/istsvnd/apr-util-1.4.1

Apache configure line:

./configure --prefix=/ngs/app/istsvnd/httpd-2.2.21
--with-apr=/ngs/app/istsvnd/apr/bin/apr-1-config
--with-apr-util=/ngs/app/istsvnd/apr-util/bin/apu-1-config
--enable-mods-shared=all --enable-dav --enable-dav-fs
--enable-static-htpasswd --enable-authn-file=static
--enable-authz-host=static --enable-auth-basic=static
--enable-log-config=static --enable-dav=static --enable-alias=static
--enable-dav-svn=static --enable-authz-svn=static
--enable-authz-user=static --enable-authz-default=static
--enable-mime=static --enable-dav-fs=static --enable-ldap=shared
--enable-auth-ldap=shared

Subversion configure line:
./configure --prefix=/ngs/app/istsvnd/subversion-1.7.4
--with-apr=/ngs/app/istsvnd/apr
--with-apr-util=/ngs/app/istsvnd/apr-util
--with-apxs=/ngs/app/istsvnd/httpd/bin/apxs --with-ssl
--without-berkeley-db --enable-javahl
--with-swig=/ngs/app/istsvnd/swig --with-jdk=/usr/java/jdk1.6.0_29
Received on 2012-04-03 18:18:34 CEST

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.