subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <>
Subject Re: Error building subversion-1.7.4 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
> I am getting the following error when trying to start apache after
> building
> ~/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/ into server:
> /ngs/app/istsvnd/subversion-1.7.4/lib/libsvn_sub
> undefined symbol: apr_atomic_xchgptr
> Everything looks good on 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 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:

View raw message