From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17755 invoked by alias); 19 May 2005 17:08:54 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 17223 invoked from network); 19 May 2005 17:08:41 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 19 May 2005 17:08:41 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DYoVl-0006Rp-8V for gdb@sources.redhat.com; Thu, 19 May 2005 13:08:41 -0400 Date: Thu, 19 May 2005 17:08:00 -0000 From: Daniel Jacobowitz To: GDB Subject: Re: environment variables in CLI Message-ID: <20050519170841.GA24717@nevyn.them.org> Mail-Followup-To: GDB References: <20050519162310.GA26748@white> <20050519162543.GA23073@nevyn.them.org> <20050519164311.GB26748@white> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050519164311.GB26748@white> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00198.txt.bz2 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