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: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Connection Problem iconv
  • Date: Tue, 29 Mar 2005 15:06:37 +0200

>
> >
> > Tom <tomaw AT gmx.de> wrote:
> > > Hi JKL,
> > >
> > > here is the full config.log.
> > > Hope you find some Hints there.
> > > Please tell me if you need more Informations.
> > >
> > > Thanks,
> > > Tom
> >
> > I think I don't know enough to help you, Tom.
> >
> > The config.log shows that the compiler found iconv(3) among
> > your .h files,
> > and successfully compiled a test program. It doesn't show
> > which library
> > it used, or what that library's capabilities are. Even if it
> > did, I'm not
> > sure that would reveal much.
> >
> > The first question is, Is your system correctly configured.
> > Is there only
> > one libiconv installed, and is it GNU's (as it should be, on
> > a Linux box)?
> > A little work with find(1) and ident(1) should answer that.
> >
> > If there's more than one library, fooling around with gcc's --print
> > options might reveal which one is being used, and if it's
> > what you want.
> >
> > The second question is, What name does that iconv use for ISO
> > 8859-1? Can
> > iconv(1) (the command line utility), for instance, convert
> > ISO 8859-1 to
> > UTF-8?
> >
> > If iconv(1) works and there's only one library, a simple
> test program
> > could recapitulate the libtds initialization. If constructed
> > as a unit
> > test, it might be useful to the project in the future.
> >
>
> I think that perhaps under Suse is possible to install iconv
> with a very
> limited set of conversions libraries.
> An "rpm -qa" and a "iconv -l" could help (if machine is a production
> machine perhaps a private post of rpm -qa would be better).
>

I discovered the cause of iconv problem using SUSE. ISO-8859-1 charset
(required by FreeTDS) require the package glibc-locale package on SUSE.

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page