subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: Error building subversion-1.7.4 mod_dav_svn.so with my own apr and apr-utils
Date Wed, 04 Apr 2012 12:58:44 GMT
On Tue, Apr 03, 2012 at 09:17:41AM -0700, Joel Eidsath wrote:
> 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@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):

The ldd output does indeed look correct. But it looks as if dlopen()
regardless fails to locate the correct APR libraries when trying to
load mod_dav_svn.so into the running httpd process.
It probably finds another APR in /usr/lib or elsewhere and uses that.

Try setting LD_LIBRARY_PATH in httpd's environment like so:
  LD_LIBRARY_PATH=/ngs/app/istsvnd/apr-1.4.6/lib:/ngs/app/istsvnd/apr-util-1.4.1/lib

Mime
View raw message