On Tue, 27 Jan 2004, Martin MOKREJŠ wrote: > On Tue, 27 Jan 2004, David Dawes wrote: > > > On Tue, Jan 27, 2004 at 03:22:35PM +0100, Martin MOKREJS wrote: > > >On Sat, 24 Jan 2004, David Dawes wrote: > > > > >I will stick to -rpath on Linux, so what should I do to compile X with > > >it on Linux and where is it documented, Dave?;) > > > > Add the following line to your host.def file: > > > > #define UseRpath YES > > > > The main objection to rpath that I see is that it is searched before > > the sysadmin and user overrides. Personally I would find it more > > No, LD_LIBRARY_PATH always overrides except SUID case.
So by not setting -rpath we force people to use LD_LIBRARY_PATH or ld.so.conf, but what the admin does depends on his preference. Often LD_LIBRARY_PATH ends up in sitewide /etc/profile /etc/conf.d/login or similar. I propose be turned by default so those desperate admins can turn it off. ;) -- Martin Mokrejs <[EMAIL PROTECTED]> PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
