Tutorial on debugging with an alternate loader

Mike Frysinger vapier@gentoo.org
Mon Apr 27 20:06:00 GMT 2009


On Monday 20 April 2009 10:45:46 Daniel De La Zerda wrote:
> Providing the full path to gdb now gives me a different error:
> "/usr/bin/gdb: error while loading shared libraries: libreadline.so.5:
> cannot open shared object file: No such file or directory"

so add the location of the extraneous libraries to the search path given to 
the loader.  the glibc ldso will only search the paths given to it on the 
command line when invoked the way you are doing it.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-help/attachments/20090427/6eb900f1/attachment.sig>


More information about the Libc-help mailing list