Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Kirk Hagberg <kirk.hagberg@qlogic.com>
Cc: gdb@sources.redhat.com
Subject: Re: FW: fatal: libstdc++.so.6: open failed
Date: Fri, 14 Oct 2005 15:28:00 -0000	[thread overview]
Message-ID: <20051014152821.GA28117@nevyn.them.org> (raw)
In-Reply-To: <E19D2D286A3784409DD574031C30D727BDB1A2@EPEXCH01.qlogic.org>

On Thu, Oct 13, 2005 at 11:04:16AM -0500, Kirk Hagberg wrote:
> $ 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 conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "sparc-sun-solaris2.8"...
> (gdb) r
> Starting program: /tmp/longsize32cpp 
> ld.so.1: /tmp/longsize32cpp: fatal: libstdc++.so.6: open failed: No such file or directory
> 
> Program terminated with signal SIGKILL, Killed.
> The program no longer exists.
> 
> libstdc++.so.6 is in the LD_LIBRARY_PATH.

GDB runs a shell in order to start your program.  The shell is probably
reloading its startup files; so your shell startup files are probably
clobbering LD_LIBRARY_PATH.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


      reply	other threads:[~2005-10-14 15:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-13 16:04 Kirk Hagberg
2005-10-14 15:28 ` Daniel Jacobowitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051014152821.GA28117@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb@sources.redhat.com \
    --cc=kirk.hagberg@qlogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox