This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: ld.so cares about /usr/X11R6?
- To: glibc-linux@ricardo.ecn.wfu.edu
- Subject: Re: ld.so cares about /usr/X11R6?
- From: Robert Siemer <siemer@i309.hadiko.de>
- Date: Thu, 27 May 1999 01:31:33 +0200 (CEST)
- Reply-To: glibc-linux@ricardo.ecn.wfu.edu
Hi!
On Wed, 26 May 1999, Ronald de Man wrote:
> On Wed, May 26, 1999 at 11:33:12PM +0200, Robert Siemer wrote:
> >
> > Question:
> > Why does ld.so cares more about my directory-hierarchie and its symlinks
> > instead to decide from LD_LIBRARY_PATH and /etc/ld.so.cache??
> > How can I run this application even with a symlink from /usr/X11R6 to
> > X11R6-libc6?
> My guess is that /usr/X11R6 was hardcoded somehow... I don't know if
> that's really possible, but I had something similar once with a
> libc5 based JDK. Editing the binary by hand might help...
siemer@panorama:/usr/X11R6-libc5/bin > strings ghostview | grep X11R6
/usr/X11R6/lib
Aha! I edited the binary. It works now. (:
Is there a tool which can detect and change the "predefined" lib-dirs?
Where can I read about that?
Thanks,
Rob