Glenn MacGregor wrote:

> Sorry about all the posts, is there a way to get ldd to tell you where
> it is looking for all the dependancies of the file, or is there some
> other utility that will do that.

I think that you will need to either use `strace', or modify the
source code to ld-linux.so.{1,2} to output the information.

On a libc-6 based system, things are more complex than with libc-5, as
part of the job is performed by ld-linux.so.1, and part by
ld-linux.so.2. libc-6's `ldd' is a shell script which invokes
ld-linux.so.2 to do the actual work. You can acheive the same result
with:

LD_TRACE_LOADED_OBJECTS=1 /lib/ld-linux.so.2 <filename>

-- 
Glynn Clements <[EMAIL PROTECTED]>
  • ldd Glenn MacGregor
    • Glynn Clements

Reply via email to