Re: Installing SQSH

Janis Elmeris <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.