Skip to Content.
Sympa Menu

freetds - Re: [freetds] Installing SQSH

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Janis Elmeris <janis.elmeris AT intelligentsystems.lv>
  • To: Sergio NNX <sfhacker AT hotmail.com>, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Installing SQSH
  • Date: Mon, 7 Dec 2015 10:50:03 +0200

Thanks for the reply!

I found two tsql binaries installed:

# /usr/bin/tsql -C
Compile-time settings (established with the "configure" script)
Version: freetds v0.91
freetds.conf directory: /etc
MS db-lib source compatibility: yes
Sybase binary compatibility: no
Thread safety: yes
iconv library: yes
TDS version: 7.0
iODBC: no
unixodbc: no
SSPI "trusted" logins: no
Kerberos: no
# /usr/local/bin/tsql -C
Compile-time settings (established with the "configure" script)
Version: freetds v0.100.dev.20151204
freetds.conf directory: /usr/local/etc
MS db-lib source compatibility: no
Sybase binary compatibility: no
Thread safety: yes
iconv library: yes
TDS version: auto
iODBC: no
unixodbc: yes
SSPI "trusted" logins: no
Kerberos: no
OpenSSL: no
GnuTLS: no
MARS: no

Janis

On 2015.12.06. 11:47, Sergio NNX wrote:
> I'm getting this error:
>
> gcc -g -O2 -DSQSH_RC='"/usr/local/etc/sqshrc:${HOME}/.sqshrc"'
> -DUSE_READLINE -I/usr/local/include -DSYB_LP64 -c -o cmd_connect.o
> cmd_connect.c cmd_connect.c: In function 'cmd_connect':
> cmd_connect.c:864:23: error: 'CS_TDS_80' undeclared (first use in this
> function)
>
> Can you give me any pointers, please? "src/Makefile" already has the
> line as described: "SYBASE_LIBS = -lct -ldl -lm"

Ciao Janis.

You don't specify which version(s) you are using or building against.

We are using FreeTDS 0.95.73 and we see no issues at all.

Administrator@melbourne /src/sqsh-2.5/src
$ sqsh.exe -v
sqsh-2.5.16.1






Archive powered by MHonArc 2.6.24.

Top of Page