On Wed, Jan 21, 2004 at 09:19:45AM -0800, Craig Groeschel wrote:
>> Does anyone have a good reason to not do this?
>
>I seem to remember an "rpath considered harmful" message from
>around the time the libraries changed from R5 to R6.  The
>author said to use rpath-link instead of rpath.  I don't know
>if that would do what you want (sorry, it's been so long I
>don't even remember the difference between the two.  So
>blackball me :) ) but it seems like a less draconian

rpath-link is supposed to be used for resolving dependencies when creating
shared libraries.  We point that to where the newly built libraries can
be found during the build ($(TOP)/exports/lib).

>alternative.  I guess it depends on whether you want to leave
>shared library configuration up to the administrator / ldconfig
>or hard-wire it in.

The administrator should be able to override it, IMHO.

FreeBSD's dynamic loader uses the following search order according to
a comment in its source:

 * The search order is:
 *   rpath in the referencing file
 *   LD_LIBRARY_PATH
 *   ldconfig hints
 *   /usr/lib

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to