Hi,

I was using gdb to debug a problem which dynamically linked to a
library.  After I set a breakpoint in the main() function and
type run, I got the following error message,

---------------------------------------------------------------
error in loading shared libraries: xxxx.so: cannot open shared
object file: No such file or directory

Program exited with code 0177.
---------------------------------------------------------------

I'm using gdb 5.0 and Linux RedHat 6.2.  The program does run
outside the gdb.  The shared library is in the same directory
with the program and the LD_LIBRARY_PATH is set to the current
directory.

I wonder if this is a bug.  If not, can anybody tell me what I
have done wrong.  Thanks in advance.

xxgdb gave me the same problem.



Yifei
[EMAIL PROTECTED]


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

Reply via email to