Notes |
(0000209)
scott
05-24-05 14:46
|
also, if LD_LIBRARY_PATH ends with ":" it will look in the CWD. So, it would seem then ending the path with ":" is the same as ":."
only after removing the ":" from the last character in the path does the loader then stop looking in cwd for libs.
To reproduce this, change your LD_LIBRARY_PATH to have ":" as the last character, then cd into a different /usr/lib (compile glibc or uclibc for another version) and /bin/ls will break. |
| |
(0000210)
vapier
05-24-05 15:39
|
what do you mean by 'not accepted' ?
also, glibc treats an empty path as meaning '.' ... also, i cant really reproduce the behavior you describe ...
i exported LD_LIBRARY_PATH=: and then tried `ls` in $HOME, /lib, and /usr/lib ... this worked fine in both uClibc-0.9.27 and glibc |
| |
(0000211)
jocke
05-25-05 06:35
|
Does ld_lib_path.patch solve anything. I havn't tested it. |
| |
(0000212)
jocke
05-25-05 06:44
|
Oops, small bug. Use ld_lib_path_2.patch instead |
| |
(0000213)
psm
05-26-05 08:54
|
path_2 patch makes it worse, now LD_LIBRARY_PATH isn't interpreted at all
the syntax that fails is:
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:somepath
if LD_LIBRARY_PATH was empty
using LD_LIBRARY_PATH=somepath
is ok |
| |
(0000214)
vapier
05-26-05 10:24
|
in case i'm not the only one who didnt understand the situation ...
if you set LD_LIBRARY_PATH=:/blah then uClibc will not search in the addtional custom /blah path |
| |
(0000215)
jocke
05-27-05 01:18
|
Vapier, you were not the only one ..
How about ld_lib_path_3.patch? |
| |
(0000219)
psm
05-29-05 23:35
|
the last solved my problem |
| |
(0000221)
jocke
05-31-05 04:49
|
Fixed in SVN |
| |