lddtree
lddtree copied to clipboard
lddtree: Respect LD_LIBRARY_PATH when resolving dependency
The code was not early returning after finding the correct elf along LD_LIBRARY_PATH, which resulted in incorrect libraries being returned, particularly if there was an alternate lib in the default system location.
Do you think you can add a testcase also?
Thanks!