Re: XFree86 4.0.1 works!
From: firstname.lastname@example.org (Niels Mvller)
Date: 25 Oct 2000 19:09:13 +0200
If that is correct, perhaps that should be considered a bug in the
dynamic linker? The Solaris ld.so.1(1) man page says
The default search paths are the runpath recorded in the object,
followed by /usr/lib. The runpath is specified when the dynamic
object is constructed using the -R option to ld(1).
LD_LIBRARY_PATH can be used to indicate directories to be
searched before the default directories.
Various systems do this differently.
To me it makes sense to search any directories in LD_LIBRARY_PATH
*before* the -rpath directories compiled into the binary.
You're not the only one. That's why there is a DT_RUNPATH entry in
the new ELF draft. It will be supported in glibc 2.2, and the next
major release of binutils.