Subject: Re: setgid dt eats LD_LIBRARY_PATH
To: Johnny Lam <lamj@stat.cmu.edu>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 11/05/1997 22:02:19
> Wait...I'm confused. I thought that ldconfig sets up the ld.so.hints
> cache, but the cache is consulted ONLY at runtime. What I'm want is
> for those libraries to be found at compile-time, and I thought the only
> way to do that was to add -Llibdir -llib, or to add libdir to
> LD_LIBRARY_PATH. All those GNU configure scripts make little programs
> and try to link with, oh say -lncurses, to test if ncurses exists.
> >From my experiences, having libncurses in my ld.so.hints file doesn't
> mean that ld will find it.
>
> Am I wrong on this?
Doh.
Why don't you just set LD_LIBRARY_PATH in your .cshrc? Then each of the
shells spawned by dt will have the right configuration.
Take care,
Bill