Description of problem: "info ld.so" says: LD_VERBOSE (glibc since 2.1) If set to a non-empty string, output symbol versioning information about the program if querying information about the program (i.e., either LD_TRACE_LOADED_OBJECTS has been set, or --list or --verify options have been given to the dynamic linker). But this doesn't work as advertised. Version-Release number of selected component (if applicable): glibc-2.10.1-5.x86_64 How reproducible: Always Steps to Reproduce: 1. LD_VERBOSE=1 /lib64/ld-linux-x86-64.so.2 --list `which egrep` 2. LD_VERBOSE=1 LD_TRACE_LOADED_OBJECTS=1 /lib64/ld-linux-x86-64.so.2 `which egrep` Actual results: Only the second command gives the verbose result Expected results: Identical verbose output from both commands Additional info: It would be nice to have a --verbose option for that. Oh, and while we are on that, can someone please hint me if there is a way to get the list of only a direct dependancies, instead of all recursive dependancies?
The documentation is wrong. LD_VERBOSE is only effective in trace mode.
Andreas, please could you please attach here the correct version of LD_VERBOSE description?
See #c1.
What's the difference between list and trace mode? Thanks.
LD_TRACE_LOADED_OBJECTS is trace mode, as the name tells.
Thanks. Fixed in man-pages-3.23-2.fc13.
But in what way the trace mode is different from the list mode? OK, let's see if the doc update have this explained...