From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14506 invoked by alias); 6 Jan 2004 22:07:04 -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 14499 invoked from network); 6 Jan 2004 22:07:03 -0000 Received: from unknown (HELO caduceus.jf.intel.com) (134.134.136.7) by sources.redhat.com with SMTP; 6 Jan 2004 22:07:03 -0000 Received: from talaria.jf.intel.com (talaria.jf.intel.com [10.7.209.7]) by caduceus.jf.intel.com (8.12.9-20030918-01/8.12.9/d: major-outer.mc,v 1.12 2003/12/18 18:58:11 root Exp $) with ESMTP id i06M88Rm017405 for ; Tue, 6 Jan 2004 22:08:08 GMT Received: from orsmsxvs041.jf.intel.com (orsmsxvs041.jf.intel.com [192.168.65.54]) by talaria.jf.intel.com (8.12.9-20030918-01/8.12.9/d: major-inner.mc,v 1.7 2003/12/18 18:58:10 root Exp $) with SMTP id i06M4IaI012318 for ; Tue, 6 Jan 2004 22:04:59 GMT Received: from orsmsx332.amr.corp.intel.com ([192.168.65.60]) by orsmsxvs041.jf.intel.com (SAVSMTP 3.1.2.35) with SMTP id M2004010614070213192 for ; Tue, 06 Jan 2004 14:07:02 -0800 Received: from orsmsx311.amr.corp.intel.com ([192.168.65.40]) by orsmsx332.amr.corp.intel.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 6 Jan 2004 14:07:01 -0800 Received: from scsmsx402.amr.corp.intel.com ([10.3.90.16]) by orsmsx311.amr.corp.intel.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 6 Jan 2004 14:07:01 -0800 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: GDB and Shared Libraries Date: Tue, 06 Jan 2004 22:07:00 -0000 Message-ID: <92E67798C43ECE4691CCEE09662D2698011E3E82@scsmsx402.sc.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Drummonds, Scott B" To: X-OriginalArrivalTime: 06 Jan 2004 22:07:01.0560 (UTC) FILETIME=[6928A380:01C3D4A1] X-Scanned-By: MIMEDefang 2.31 (www . roaringpenguin . com / mimedefang) X-SW-Source: 2004-01/txt/msg00059.txt.bz2 Hi, everyone, I'm noticing a discrepancy between the way that GDB handles shared libraries and my Linux system does during execution. Specifically, my program works on the command line (well, except for the actual run-time but that I'm trying to find) but aborts in GDB for lack of shared libraries. Specifically: (gdb) run Starting program: : error while loading shared libraries: libtcl8.0.so: cannot open shared object file: No such file or directory Program exited with code 0177. Can anyone tell me why this is happening? This is an old version of GDB (5.2-2) but I can't imagine that the problem here is anything other than my incorrect or incomplete understanding of GDB. Thanks, Scott