Skip to Content.
Sympa Menu

freetds - Re: How to compile SQSH with FreeTDS .60?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: How to compile SQSH with FreeTDS .60?
  • Date: Wed, 2 Oct 2002 21:46:05 -0400 (EDT)



Later versions of SQSH should do the right thing mostly automatically.
Set $SYBASE to the location of the install (/usr/local for 0.60,
/usr/local/freetds for any previous version). If you do have to edit the
SYBASE_LIBS in the makefile it should be set to "-lct"

Brian

On Wed, 2 Oct 2002, Jay Sauls wrote:

> I have FreeTDS 0.60 installed and running nicely. tsql sucessfully
> connects to my native-mode SQLServer with integrated auth. Very nice!
>
> I'd like to use sqsh to do some advanced queries (espeically running
> stored procedures). However, the latest compiled SQSH I can find for
> FreeTDS on x86 Linux (located at www.sqsh.org/sqsh_download.html) uses
> FreeTDS 0.52, which I assume doesn't have integrated auth support.
>
> So I need to compile sqsh to use FreeTDS 0.60.
>
> While perusing this handy url:
> http://www.freetds.org/userguide/c1457.htm#AEN1461
>
> I noticed a note in the instructions:
>
> "After running configure in SQSH's directory (make sure you set the Sybase
> environment variable first), look for the Sybase_LIBS definition in the
> Makefile. Change the line to match this example. "
>
> What exactly should I set the SYBASE environment variable to? I don't
> have OpenClient installed (and I don't own a sybase license, so I don't
> know where or if I can obtain OpenClient). Is OpenClient required to
> compile sqsh?
>
> Thanks for any help....
>
> ---
> You are currently subscribed to freetds as: [camber AT ais.org]
> To unsubscribe, forward this message to $subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page