From: Daniel Jacobowitz <drow@false.org>
To: "Williams, Allen" <awilli08@harris.com>
Cc: gdb@sourceware.org
Subject: Re: Relocation error in gdb
Date: Tue, 08 May 2007 16:06:00 -0000 [thread overview]
Message-ID: <20070508160620.GA10002@caradoc.them.org> (raw)
In-Reply-To: <6E19E11D3D7A5F4D937E5C2721FC310D058A7704@mlbe2k4.cs.myharris.net>
On Tue, May 08, 2007 at 11:52:42AM -0400, Williams, Allen wrote:
> I'm trying to run a debug version of the standard libraries in gdb.
> They are located in /usr/lib/debug. After loading gdb ("gdb rssd"), I
> do this:
>
> LD_PRELOAD /usr/lib/debug/libc.so.6
>
> in an attempt to force the program (some odbc libraries in the program,
> in particular) to pick up the debug versions. I receive this error:
>
> Starting program: /home/anw/SoftwareProducts/rss/rssd
> /home/anw/SoftwareProducts/rss/rssd: relocation error:
> /lib/tls/libpthread.so.0: symbol errno, version GLIBC_PRIVATE not
> defined in file libc.so.6 with link time reference
That won't work outside GDB either. You can't mix and match different
versions of libc and libpthread. Try LD_LIBRARY_PATH=/usr/lib/debug
instead.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2007-05-08 16:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-08 15:53 Williams, Allen
2007-05-08 16:06 ` 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=20070508160620.GA10002@caradoc.them.org \
--to=drow@false.org \
--cc=awilli08@harris.com \
--cc=gdb@sourceware.org \
/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