[geeks] Subversion - Solaris - linking to APR library
Patrick Giagnocavo
patrick at zill.net
Fri Sep 21 18:04:33 CDT 2007
On Sep 21, 2007, at 2:50 PM, brian.dunbar at liftport.com wrote:
> I'm installing Subversion under Solaris 10 x86, using the packages
> from
> sunfreeware. It's running on a sub-zone.
May want to use blastwave instead; although I think they install
their very own apache2 at the same time.
>
> According to the svn forums it is either a permission issue (I
> believe I
> have ruled that out) or that the mod_dav_svn.so libraries are not
> linked
> to the same libraries that httpd uses.
>
>
> co-vm-997:/usr/local/apache2/modules:# ldd mod_dav_svn.so | grep apr
> libaprutil-0.so.0 => /usr/local/lib/libaprutil-0.so.0
> libapr-0.so.0 => /usr/local/lib/libapr-0.so.0
>
> co-vm-997:/usr/local/apache2/bin:# ldd httpd | grep apr
> libaprutil-1.so.0 => /usr/local/apache2/lib/
> libaprutil-1.so.0
> libapr-1.so.0 => /usr/local/apache2/lib/libapr-1.so.0
>
You can use "crle" to control libs behavior; this is similar to using
"ldconfig" under Linux.
You can also try to use LD_LIBRARY_PATH, however there are some
caveats to doing this (may not always work, I think, depending on how
the library is searched for).
Cordially
Patrick Giagnocavo
patrick at zill.net
More information about the geeks
mailing list