Skip to Content.
Sympa Menu

freetds - Re: [freetds] Compiling sqsh-2.1.3 against freetds-0.63 on RH9

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Compiling sqsh-2.1.3 against freetds-0.63 on RH9
  • Date: Wed, 12 Oct 2005 13:18:25 -0400

> From: Reuben Pearse
> Sent: Wednesday, October 12, 2005 12:09 PM
>
> I used your "regen" script to setup stuff for the configure script.
> I then hacked the makefile with:
>
> SYBASE_LIBS = -lct -ltds -lnsl -ldl -lm
>
> I also had to put the following lines in:
>
> SYBASE_LIBDIR = -Wl,-R/usr/pkg/lib \
> -Wl,-R/usr/local/lib \
> -L$(SYBASE_OCOS)/lib

Well, you don't need /usr/pkg/lib unless you have a /usr/pkg directory.
I run NetBSD, where it's normal to have the pkgsrc system
(www.pkgsrc.org) install packages there.

> I can now connect to MSSQL but when I'm querying textual information
> I get the error:
>
> Open Client Message Layer 0, Origin 0, Severity 9, Number 99 WARNING!
> Some character(s) could not be converted into client's character
> set. Unconverted bytes were changed to question marks ('?').
>
> Open Client Message Layer 0, Origin 0, Severity 78, Number 52
> Unknown marker

http://www.freetds.org/userguide/freetdsconf.htm#FREETDSCONFFORMAT

"Unknown marker" almost always means you're using the wrong TDS protocol
version. For a Microsoft server, use TDS 7.0 or 8.0.

If your data can't be represented with ISO 8859-1, make sure 'client
charset' in freetds.conf is set appropriately.

That should do it.

--jkl

-----------------------------------------
The information contained in this transmission may be privileged and
confidential and is intended only for the use of the person(s) named
above. If you are not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, any review,
dissemination,
distribution or duplication of this communication is strictly prohibited. If
you are
not the intended recipient, please contact the sender immediately by reply
e-mail
and destroy all copies of the original message. Please note that we do not
accept
account orders and/or instructions by e-mail, and therefore will not be
responsible
for carrying out such orders and/or instructions. If you, as the intended
recipient
of this message, the purpose of which is to inform and update our clients,
prospects
and consultants of developments relating to our services and products, would
not
like to receive further e-mail correspondence from the sender, please "reply"
to the
sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New
York,
NY 10105.




Archive powered by MHonArc 2.6.24.

Top of Page