[geeks] Subversion - Solaris - linking to APR library

Sandwich Maker adh at an.bradford.ma.us
Fri Sep 21 20:37:09 CDT 2007


" From: "Jonathan C. Patschke" <jp at celestrion.net>
" 
" On Fri, 21 Sep 2007, Patrick Giagnocavo wrote:
" 
" >> 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.
" 
" Neither of which can edit library dependencies within binaries
" themselves.  If the module is linked against libarputil-0.so.0, it's not
" going to shack up with libaprutil-1.so.0, no matter what directories are
" ld.so's search path.

but you can - with risk - link libaprutil-1.so.0 to libaprutil-0.so.0,
so that it finds what it wants...  i don't know if setting
LD_NOVERSION=yes would work in this case; the only time i used it was
to run opera 5.1b [for s7] on solaris 2.6.
________________________________________________________________________
Andrew Hay                                  the genius nature
internet rambler                            is to see what all have seen
adh at an.bradford.ma.us                       and think what none thought



More information about the geeks mailing list