[geeks] Subversion - Solaris - linking to APR library

Jonathan C. Patschke jp at celestrion.net
Fri Sep 21 19:38:50 CDT 2007


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.

-- 
Jonathan Patschke     )  "So far, 99% of illegal activity has been caused
Elgin, TX            (    by criminals."
USA                   )                                    --David Willis



More information about the geeks mailing list