bug-gdb
[Top][All Lists]
Advanced

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

gdb-5.1 problem


From: Vladimir Gekht
Subject: gdb-5.1 problem
Date: Mon, 24 Dec 2001 07:51:47 -0800 (PST)

 Hi,

I'm porting some application that I developed (and successfully debugged with gdb) under Linux Red Hat 6.2

to Red Hat 7.2 . My executable file depends on number of libXXXX.so shared libraries.

The problem is as follows:

My program is running, but when trying to debug I get the message from gdb as follows:

" error while loading shared libraries: <libXXX.so>: cannot open shared object file: no such file or directory" ,

in spite of the fact that both PATH and LD_LIBRARY_PATH are OK, even after running "set solib-search-path"

from within gdb the result is the same. This occures both under gdb-5.0fh-15 that was as rpm in PH7.2 distribution and

gdb-5.1 that I downloaded as tarball from the site today, compiled sources and installed in another directory going

in PATH before /usr/bin where gdb-5.0 is installed.

Programs not using shared libraries are debugged OK .

I'll appreshiate any help.

Thanks in advance,



Vladimir Gekht,

Software engineer



Do You Yahoo!?
Send your FREE holiday greetings online at Yahoo! Greetings.
reply via email to

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