[uClibc] ldd doesnt pass along LD_LIBRARY_PATH
Mike Frysinger
vapier at gentoo.org
Fri Aug 6 21:41:24 UTC 2004
when i was trying to track down some linking troubles i was having, i noticed
that running `env LD_LIBRARY_PATH=/somewhere ldd /somefile` wasnt producing
the correct results ...
when the environment is created to run the program you are `ldd`-ing, the
LD_LIBRARY_PATH isnt passed along thus creating this discrepancy in display
find attached a small patch to fix this ... i'm sure someone can figure out a
much cleaner one, but this seems to work and at least serves as a proof of
fix :)
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldd-LD_LIBRARY_PATH.patch
Type: text/x-diff
Size: 1148 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20040806/b8249556/attachment.bin
More information about the uClibc
mailing list