Skip to Content.
Sympa Menu

freetds - Re: [freetds] Connection Problem iconv

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Connection Problem iconv
  • Date: Mon, 14 Mar 2005 19:31:51 -0500

"Thomas Kasic" <TomaW AT gmx.de> wrote:
>
> I have a Connection Problem with Freetds 0.62.4 on Suse Linux 8.2.
>
> tsql -H 192.168.20.50 -p 1433 -U user -P pwd
> locale is "C"
> locale charset is "ANSI_X3.4-1968"
> tsql: iconv.c:343: tds_iconv_open: Assertion 'ret == 0' failed.
> Aborted

If you set TDSDUMP, you will see a message telling you that iconv
initialization failed for the ISO-8859-1 or UTF-8 character sets. It
would seem that the iconv installation is broken. That's very unusual on
a Linux box. Does locale(1) show anything for them?

As a stopgap, "configure --disable-libiconv" may help, if you can live
with its limitations.

If you want to fix the problem correctly, set TDSDUMP. Post that log and
the config.log for starters. That will tell us which charset is the
problem, and maybe something about the configuration.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page