Re: How does (the current) 'ldd' command work?
- From: J G Miller <miller@xxxxxxxx>
- Date: Sun, 25 Jul 2010 19:44:04 +0000 (UTC)
On Sunday, July 25th, 2010 at 18:44:45h +0000, Kenny McCormack asked:
what is the active line, that actually generates the output,
in the shell script version?
If you do sh -x /bin/ldd then you will immediately see the answer ...
...
+ RTLD=/lib/ld-linux.so.2
+ break
+ try_trace /lib/ld-linux.so.2 /lib/libc.so.6
+ eval LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW=
LD_LIBRARY_VERSION=$verify_out LD_VERBOSE= "$@"
+ LD_TRACE_LOADED_OBJECTS=1 LD_WARN= LD_BIND_NOW= LD_LIBRARY_VERSION=6
LD_VERBOSE= /lib/ld-linux.so.2 /lib/libc.so.6
/lib/ld-linux.so.2 (0x0027e000)
linux-gate.so.1 => (0x0055b000)
+ exit 0
.
- Follow-Ups:
- Re: How does (the current) 'ldd' command work?
- From: Kenny McCormack
- Re: How does (the current) 'ldd' command work?
- From: Kenny McCormack
- Re: How does (the current) 'ldd' command work?
- References:
- How does (the current) 'ldd' command work?
- From: Kenny McCormack
- How does (the current) 'ldd' command work?
- Prev by Date: How does (the current) 'ldd' command work?
- Next by Date: Re: How does (the current) 'ldd' command work?
- Previous by thread: How does (the current) 'ldd' command work?
- Next by thread: Re: How does (the current) 'ldd' command work?
- Index(es):