From: "Williams, Allen" <awilli08@harris.com>
To: <gdb@sourceware.org>
Subject: Relocation error in gdb
Date: Tue, 08 May 2007 15:53:00 -0000 [thread overview]
Message-ID: <6E19E11D3D7A5F4D937E5C2721FC310D058A7704@mlbe2k4.cs.myharris.net> (raw)
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
Can anyone decipher this? Here is the backtrace I'm trying to nail
down:
#0 0xa7941270 in strcmp () from /lib/tls/libc.so.6
#1 0xa78f50d9 in setlocale () from /lib/tls/libc.so.6
#2 0x96c833fa in my_SQLExtendedFetch () from /usr/lib/odbc/libmyodbc.so
#3 0x96c835b6 in SQLFetch () from /usr/lib/odbc/libmyodbc.so
#4 0xa7a4d798 in SQLFetch () from /usr/lib/libodbc.so.1
#5 0x080561e2 in t_dbBuffer<topic>::GetNext (this=0x98dbefd8,
data=@0xafd1e5b8)
at /home/anw/SoftwareProducts/Headers/dbTempDef.h:224
#6 0x08050a32 in rssd::InitRSS (this=0xa6d1cf0c) at rssd.cpp:835
#7 0x08050b7e in rssd::AppInit (this=0xa6d1cf0c) at rssd.cpp:692
#8 0x0805cc98 in main (argc=1, argv=0xafd1e7f4) at App.cpp:47
Everything in here from 0 through 4 is system.
Thanks, and Regards,
________________________
Allen Williams
allen.williams@harris.com
Office: (321)309-7931
Mobile: (321)258-1272
FAX: (321)727-9607
next reply other threads:[~2007-05-08 15:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-08 15:53 Williams, Allen [this message]
2007-05-08 16:06 ` Daniel Jacobowitz
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=6E19E11D3D7A5F4D937E5C2721FC310D058A7704@mlbe2k4.cs.myharris.net \
--to=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