Skip to Content.
Sympa Menu

freetds - [freetds] tsql fails on Solaris 6

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Jeff Dahl <jddahl AT micron.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] tsql fails on Solaris 6
  • Date: Tue, 21 Feb 2006 15:00:50 -0700

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




Archive powered by MHonArc 2.6.24.

Top of Page