From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30428 invoked by alias); 8 May 2007 15:53:01 -0000 Received: (qmail 30414 invoked by uid 22791); 8 May 2007 15:53:00 -0000 X-Spam-Check-By: sourceware.org Received: from mlbe2k1.cs.myharris.net (HELO mlbe2k1.cs.myharris.net) (137.237.90.88) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 May 2007 15:52:53 +0000 Received: from mail pickup service by mlbe2k1.cs.myharris.net with Microsoft SMTPSVC; Tue, 8 May 2007 11:52:43 -0400 Received: from mlbe2k4.cs.myharris.net ([192.107.153.232]) by mlbe2k1.cs.myharris.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 8 May 2007 11:52:42 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Relocation error in gdb Date: Tue, 08 May 2007 15:53:00 -0000 Message-ID: <6E19E11D3D7A5F4D937E5C2721FC310D058A7704@mlbe2k4.cs.myharris.net> From: "Williams, Allen" To: X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00029.txt.bz2 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: =20 LD_PRELOAD /usr/lib/debug/libc.so.6 =20 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: =20 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: =20 #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::GetNext (this=3D0x98dbefd8, data=3D@0xafd1e5b8) at /home/anw/SoftwareProducts/Headers/dbTempDef.h:224 #6 0x08050a32 in rssd::InitRSS (this=3D0xa6d1cf0c) at rssd.cpp:835 #7 0x08050b7e in rssd::AppInit (this=3D0xa6d1cf0c) at rssd.cpp:692 #8 0x0805cc98 in main (argc=3D1, argv=3D0xafd1e7f4) at App.cpp:47 Everything in here from 0 through 4 is system. =20 Thanks, and Regards, ________________________ Allen Williams allen.williams@harris.com Office: (321)309-7931 Mobile: (321)258-1272 FAX: (321)727-9607