bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LD_DEBUG not giving anything


From: Roland McGrath
Subject: Re: LD_DEBUG not giving anything
Date: Sat, 16 Jun 2001 18:59:39 -0400 (EDT)

> Hi,
> 
> I tried 
> 
> LD_DEBUG=foo LD_LIBRARY_PATH=/new-glibc /new-glibc/ld-2.2.3.so /bin/rpctrace
> 
> with foo being one of those which you get when setting foo as "help"
> (like files, libs, statistics etc).
> 
> Not a single foo prints anything. I always get:
> 
> /bin/rpctrace: error while loading shared libraries: /bin/rpctrace: cannot 
> open shared object file: No such file or directory

Well, I think that is because you are getting an error in the very first
place that one can happen.  _dl_map_object prints when it's about to load
an object--unless it's the main program being loaded or a _dl_open call.
I'm pretty sure that the dynamic linker is getting as far as making the
call `__open ("/bin/rpctrace", O_RDONLY)' and that fails.

Time for gdb.  Break on __open (in dl-sysdep.c) and step through.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]