From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6516 invoked by alias); 13 Oct 2005 16:04:20 -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 6500 invoked by uid 22791); 13 Oct 2005 16:04:18 -0000 Received: from eppat.qlogic.com (HELO EPEXCH01.qlogic.org) (63.170.40.2) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 13 Oct 2005 16:04:18 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: FW: fatal: libstdc++.so.6: open failed Date: Thu, 13 Oct 2005 16:04:00 -0000 Message-ID: From: "Kirk Hagberg" To: X-SW-Source: 2005-10/txt/msg00085.txt.bz2 I'm running: GCC 3.4.3 =A0=A0=A0=A0=A0=A0=A0 (Solaris, compiled in 64-bit) GDB 6.3=A0 =A0=A0=A0=A0=A0=A0=A0=A0=A0 (Solaris, compiled in 64-bit) I compile a simple C program: #include int main(void) { =A0=A0=A0=A0=A0=A0=A0 int a=3D77; =A0=A0=A0=A0=A0=A0=A0 printf("long size=3D%d, a=3D%d\n",sizeof(long),a); =A0=A0=A0=A0=A0=A0=A0 return 0; } In both 32-bit and 64-bit, with gcc and g++.=A0 They execute fine on the co= mmand line.=A0 Although when the g++ compiled files are run in GDB, I get t= he following message: $ g++ -g -m32 longsize.c -olongsize32cpp $ gdb longsize32cpp GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB.=A0 Type "show warranty" for detail= s. This GDB was configured as "sparc-sun-solaris2.8"... (gdb) r Starting program: /tmp/longsize32cpp=20 ld.so.1: /tmp/longsize32cpp: fatal: libstdc++.so.6: open failed: No such fi= le or directory Program terminated with signal SIGKILL, Killed. The program no longer exists. libstdc++.so.6 is in the LD_LIBRARY_PATH. Any assistance would be great!=A0 Thanks!