Error while starting a program in GDB
From: Madhav (madhav.kelkar_at_gmail.com)
Date: 09/14/05
- Previous message: Robert Redelmeier: "Re: Bandwidth Information"
- Next in thread: Paul Pluzhnikov: "Re: Error while starting a program in GDB"
- Reply: Paul Pluzhnikov: "Re: Error while starting a program in GDB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 14 Sep 2005 02:46:16 -0700
Hi All,
I am using GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
for debugging my program. The problem I am facing while debugging is
that when I start the program outside the debugger, it starts
correctly. But when I start it using GDB, the GDB says something like
"error while loading shared library <lib> : no such file or
directory" and stops. I have verified that LD_LIBRARY_PATH was correct
in both the places. Can any body help me to solve this? Is there any
additional setting that I need to do while running that program in GDB?
Thanks and regards,
Madhav.
- Previous message: Robert Redelmeier: "Re: Bandwidth Information"
- Next in thread: Paul Pluzhnikov: "Re: Error while starting a program in GDB"
- Reply: Paul Pluzhnikov: "Re: Error while starting a program in GDB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|