This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Tutorial on debugging with an alternate loader
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"
----- Original Message ----
From: Carlos O'Donell <carlos@systemhalted.org>
Cc: Ryan Arnold <ryan.arnold@gmail.com>; libc-help@sourceware.org; pasky@suse.cz
Sent: Saturday, April 18, 2009 12:10:46 AM
Subject: Re: Tutorial on debugging with an alternate loader
On Thu, Apr 16, 2009 at 2:11 PM, Daniel De La Zerda
<ddelazerda007@yahoo.com> wrote:
> gdb -x /home/devel/src/rmp/BUILD/test/test.gdb -d /home/devel/src/rpm/BUILD/glibc-2.4-copy ${GLIBC}/elf/ld-linux-x86-64.so.2
The dynamic linker expects a full or absolute path to gdb, it will not
search the path for the executable.
Cheers,
Carlos.