Skip to Content.
Sympa Menu

freetds - RE: SQSH with FreeTDS for SQL Server access

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <ThompBil AT exchange.uk.ml.com>
  • To: "'TDS Development Group'" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: SQSH with FreeTDS for SQL Server access
  • Date: Wed, 25 Sep 2002 11:23:49 +0100


First up, go into the sqsh directory and do "ldd sqsh" this should tell you
which libraries sqsh is picking up at runtime (sybase or freetds)


> -----Original Message-----
> From: Savitri Sarangi [SMTP:ssarangi AT Satyam.odc.ml.com]
> Sent: Wednesday, September 25, 2002 11:16 AM
> To: TDS Development Group
> Subject: [freetds] SQSH with FreeTDS for SQL Server access
>
> Dear all
>
> I am trying to access SQL Server 2000 from sqsh on Solaris. I downloaded
> sqsh source and created the binary. My $SYBASE, $CC set properly.I use
> only cc and not gcc. My LD_LIBRARY_PATH includes freetds/lib path. I did
> not modify SYBASE_LIBS = -lct -ldl -lm as said in FreeTDS SQSH
> documentation. This gives me host of undefined symbol error. So I left
> SYBASe_LIBS as it was. However when I run sqsh -SMYSERVER -Usa -Psa
> I get error
> sqsh-2.1 Copyright (C) 1995-2001 Scott C. Gray
> This is free software with ABSOLUTELY NO WARRANTY
> For more information type '\warranty'
> Open Client Message
> Layer 5, Origin 3, Severity 5, Number 6
> ct_connect(): network packet layer: internal net library error:
> Net-Library
> operation terminated due to disconnect
>
> what is the problem? I do not want to use open client. SQSH should use
> FreeTDS.Can any one help me in this?
>
> thanks and regards
>
> savitri
>
> ---
> You are currently subscribed to freetds as: [thompbil AT exchange.uk.ml.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')





Archive powered by MHonArc 2.6.24.

Top of Page