This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ld.so cares about /usr/X11R6?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]