From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5045 invoked by alias); 24 Sep 2002 15:21:13 -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 5036 invoked from network); 24 Sep 2002 15:21:11 -0000 Received: from unknown (HELO mail.hks.com) (63.125.197.5) by sources.redhat.com with SMTP; 24 Sep 2002 15:21:11 -0000 Received: from gimli.hks.com (fw.hks.com [63.125.196.1]) by mail.hks.com (Postfix) with ESMTP id 5E4D777C4C; Tue, 24 Sep 2002 10:23:21 -0400 (EDT) Received: from cheetah.hks.com (cheetah.hks.com [172.16.2.9]) by gimli.hks.com (Postfix) with ESMTP id B472424AF46; Tue, 24 Sep 2002 11:21:09 -0400 (EDT) Received: from hks.com (localhost [127.0.0.1]) by cheetah.hks.com (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id g8OFLDM26165; Tue, 24 Sep 2002 11:21:13 -0400 Message-ID: <3D9082E8.85576ADB@hks.com> Date: Tue, 24 Sep 2002 08:21:00 -0000 From: Robert Schweikert Organization: Hibbit, Karlsson & Sorensen X-Accept-Language: en MIME-Version: 1.0 To: Daniel Jacobowitz Cc: kevinb@redhat.com, gdb@sources.redhat.com Subject: Re: Shared library problems References: <20020924012930.GC11065@nevyn.them.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00372.txt.bz2 Daniel Jacobowitz wrote: > On Mon, Sep 23, 2002 at 09:01:59PM -0400, Robert Schweikert wrote: > > Kevin, > > > > > Which version of gdb are you using? Which host and target? > > > > Acording to the package id I am using 5.0-148. gdb produces the following > > output. > > > > -> gdb -v > > GNU gdb 20010316 > > > > This is on Linux running on Intel IA32. > > Try a more recent version: > http://sources.redhat.com/gdb > > That one's pretty old. And we have no idea what your distributor did > with the 148 revisions of it... Daniel, I downloaded the latest source and built the 5.2.1 version but I end up with the same symptom. i.e. start gdb within the proper environment and try to run the app from there I end up with the problem that the app cannot find the shared libraries. Displaying LD_LIBRARY_PATH in gdb (show env LD_LIBRARY_PATH) shows that the path to the library that cannot be found is on the LD_LIBRARY_PATH. However, when I start the app and then attach I can actually see the function names and where in the code I am. This is certainly an improvement over the earlier version. Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU (Robert.Schweikert@hks.com) LINUX