[freetds] 0.61 tsql core dump, locale = "C C C C C C"
dan.cooperstock at hepcoe.com
Wed Jun 4 13:12:44 EDT 2003
Is there something special I need to do to get the libraries to be compiled
with symbol tables? I just did a basic compile with nothing very special
when I created them. All I get from:
ldd $(which tsql) | grep libtds
libtds.sl.2 => /usr/local/lib/libtds.sl.2
If I do:
/usr/local/lib/libtds.sl.2: ELF-64 shared object file - PA-RISC
Dan Cooperstock, Senior Technical Consultant, HEPCOE Credit Union
dcoops at hepcoe.com 416-597-5055
From: Lowden, James K [mailto:LowdenJK at bernstein.com]
Sent: Wednesday, June 04, 2003 11:46 AM
To: FreeTDS Development Group
Subject: RE: [freetds] 0.61 tsql core dump, locale = "C C C C C C"
> From: Cooperstock, Dan [mailto:dan.cooperstock at hepcoe.com]
> Sent: June 4, 2003 10:20 AM
> OK, I'm back from 2 weeks' vacation.
Oh, well. ;-)
> (gdb) watch dumpfile != 0
> No symbol "dumpfile" in current context.
> What do I try next?
Works for me? The symbol is in libtds:
$ grep -n dumpfile src/tds/util.c |head -1
69:static FILE *dumpfile = NULL; /* file pointer for dump log */
Maybe libtds wasn't compiled with "-g" or was stripped?
$ ldd $(which tsql) |grep libtds |cut -f4 -d' ' \
|sed s'/$/*/'| sed 's/^/file /' |sh
/usr/local/lib/libtds.so.2: symbolic link to libtds.so.2.0
/usr/local/lib/libtds.so.2.0: ELF 32-bit LSB shared object, Intel 80386,
version 1, not stripped
Or try "help symbol" in gdb.
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.
More information about the FreeTDS