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
> 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:
> 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:
Received on 2012-04-04 14:59:22 CEST