[freetds] tsql fails on Solaris 6

Jeff Dahl jddahl at micron.com
Tue Feb 21 17:00:50 EST 2006


Why is the locale not getting set correctly?  Why does the assertion 
fail on line 352 of iconv.c?

    $ uname -a
    SunOS myhost 5.6 Generic_105181-39 sun4u sparc SUNW,Ultra-2

    $ tsql -H <hostname> -p <port> -U <username> -P <password>
    locale is "/en_US/en_US/en_US/en_US/en_US/C"
    locale charset is "ISO8859-1"
    Assertion failed: ret == 0, file iconv.c, line 352
    Abort (core dumped)

Using the same hostname, port, username, and password on Linux (FC1) 
works without problem.

    $ tsql -H <hostname> -p <port> -U <username> -P <password>
    locale is "en_US"
    locale charset is "ISO-8859-1"
    1>

Thanks,
Jeff Dahl


More information about the FreeTDS mailing list