This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: environment variables in CLI
On Thu, May 19, 2005 at 12:43:11PM -0400, Bob Rossi wrote:
> Breakpoint 1 at 0x80af805: file main.cpp, line 469.
> (gdb) r
> main-program: error while loading shared libraries: libqt.so: cannot open shared object file: No such file or directory
That isn't "GDB's search path for shared libraries", it's the system
path; the error does not come from GDB. You do need to set
LD_LIBRARY_PATH.
--
Daniel Jacobowitz
CodeSourcery, LLC