Subject: Re: ldd output
To: None <andrew@wipux2.wifo.uni-mannheim.de>
From: Paul Kranenburg <pk@cs.few.eur.nl>
List: current-users
Date: 11/24/1993 20:03:06
> Is there a special reason why
> ldd /usr/bin/sharedbinary | cat
> doesn't produce the same output as:
> ldd /usr/bin/sharedbinary ?
> Cheers
I get:
cesium% ldd /usr/bin/make
/usr/bin/make:
-lgcc.1 => /usr/lib/libgcc.so.1.0 (0x2025000)
-lc.2 => /usr/lib/libc.so.2.1 (0x2029000)
cesium% !! | cat
ldd /usr/bin/make | cat
-lgcc.1 => /usr/lib/libgcc.so.1.0 (0x2025000)
-lc.2 => /usr/lib/libc.so.2.1 (0x2029000)
/usr/bin/make:
You see output from two different processes here. "/usr/bin/make:" is
produced by ldd, while the "-lgcc.1 ..." stuff is from make (run with the
LD_TRACE_LOADED_OBJECTS env. var. set).
In the second case the output from ldd lingers in the pipe until program exit.
-pk
------------------------------------------------------------------------------