[freetds] 0.61 tsql core dump, locale = "C C C C C C"

Cooperstock, Dan dan.cooperstock at hepcoe.com
Thu May 8 16:11:07 EDT 2003

I've compiled 0.61, using these arguments to configure:

./configure --with-tdsver=8.0 --enable-msdblib

When I run tsql and try to connect to my MS SQL Server 2000, I get the
following output:

in main[1]/usr/local/etc/locales.conf
Found file.
Looking for section default.
Found section default.
Got a match.
option = date format
value = %b %d %Y %I:%M%p
option = language
value = us_english
option = char set
value = iso_1
Found section en_us.
s =
locale is "C C C C C C"
charset is "roman8"
Bus error (core dumped)

For starters, I'm not sure why tsql is being so verbose. Somebody else set
this up initially, so they may have tweaked some setting. I haven't touched
locales.conf at all. My entry for the SQL Server in freetds.conf is:

        host = sqldev.hepcoe.com
        port = 1433
        tds version = 8.0

I'm following the advice in the BUGS file that server names need to be lower

Any ideas?

Dan Cooperstock, Senior Technical Consultant, HEPCOE Credit Union
dcoops at hepcoe.com    416-597-5055

More information about the FreeTDS mailing list