subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Eidsath <jeids...@gmail.com>
Subject Re: Error building subversion-1.7.4 mod_dav_svn.so with my own apr and apr-utils
Date Wed, 04 Apr 2012 16:07:28 GMT
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@wandisco.com> wrote:
> Stefan Sperling <stsp@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

Mime
View raw message