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

Re: 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: Wed, 4 Apr 2012 09:07:28 -0700

I fixed the startup issue by removing some of the static libraries and
building them as modules. There are probably more complicated linker
issues with static vs. dynamic modules than I am aware of.

Joel Eidsath

On Wed, Apr 4, 2012 at 7:14 AM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
> Stefan Sperling <stsp_at_elego.de> writes:
>
>> 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
>
> Another thing to check is which apr is used by the running apache
> process. Comment out the Subversion lines so that apache starts and then
> use "grep apr /proc/NNN/maps" where NNN is the process ID of the running
> apache.
>
>
>
> --
> Philip
Received on 2012-04-04 18:08:20 CEST

This is an archived mail posted to the Subversion Users mailing list.