1 |
On Fri, 2001-12-07 at 04:56, Juergen Ilse wrote: |
2 |
> Hello, |
3 |
> |
4 |
> On Thu, Dec 06, 2001 at 09:43:16PM +0200, Dan Armak wrote: |
5 |
> > In Gentoo LD_LIBRARY_PATH is called simply LDPATH. |
6 |
> |
7 |
> I don't think so. LD_LIBRARY_PATH ist relevant for the shared library loader |
8 |
> ld.so (see also "man ld.so"). LDPATH is (as far as i know) not relevant for |
9 |
> ld.so. LDPATH and LD_LIBRARY_PATH are IMHO totally different things (and |
10 |
> IMHO should LD_LIBRARY_PATH not be set to a default value). |
11 |
> |
12 |
> > Legend has it drobbins simply renamed it because he was tired of typing |
13 |
> > the longer version :-) |
14 |
> |
15 |
> Is it some kind of "urban legend"? ;-) |
16 |
> I also did a "strings /lib/ld.so | grep LD" to see, if ld.so was modified |
17 |
> to accept LDPATH instead of "LD_LIBRARY_PATH" and i saw no "LDPATH" in, |
18 |
> so the meaning of LD_LIBRARY_PATH seems not to be modified and LDPATH seems |
19 |
> not to "replace" LD_LIBRARY_PATH ... |
20 |
> |
21 |
> > Under /etc/env.d you will see a lot of files setting that variable. |
22 |
> |
23 |
> ... which is not the same as LD_LIBRARY_PATH ... |
24 |
> |
25 |
> > However, it doesn't actually get exported to your shell. Instead, env-update |
26 |
> > changes /etc/ld.so.conf to include those dirs. |
27 |
> |
28 |
> IMHO is that "the right thing" to do. |
29 |
> |
30 |
I believe LDPATH is internal to portage. Like dan said, it doesn't get |
31 |
exported. It's used to generate ld.so.cache. |
32 |
|
33 |
tod |