On Sat, Jan 24, 2004 at 07:08:00AM +0100, Bernd Ernesti wrote: >On Fri, Jan 23, 2004 at 08:23:38PM -0500, David Dawes wrote: >[glibc search order] >> That possibly means that we should be removing -rpath from other platforms >> rather than adding it on Linux. > >No, please don't do that. > >On NetBSD you can't use LD_LIBRARY_PATH for setuid or setgid programs >and /usr/X11R6/lib is not in the default search path.
Does NetBSD have an ld.so cache/hints mechanism like Linux and FreeBSD? Or is the search order different on NetBSD? What about OpenBSD? The problem, at least on Linux and FreeBSD, is that using -rpath prevents the admin from configuring a different path, not to mention preventing the use of LD_LIBRARY_PATH for temporary overrides. (That explains the problems I've had in the past debugging on FreeBSD vs Linux.) If there is no general consensus, I will at least add a build option to make it easy to turn -rpath on or off for a host.def setting, and leave the defaults as they are now. David -- David Dawes developer/release engineer The XFree86 Project www.XFree86.org/~dawes _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
