Re: Can't make SQSH 2.1.7 with freetds 0.91

Casey Boardman <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <833E9AA56926514AB3B3A4DA29913556402669D9@bfm-exchange2.batterymarch.com>
But there is not libtds.so (per  http://www.freetds.org/faq.html#where.is.libtds.so).

Or do I have to get/build it separately? 

-Casey

________________________________________
From: [email protected] [[email protected]] On Behalf Of James K. Lowden [[email protected]]
Sent: Tuesday, September 20, 2011 10:33 PM
To: [email protected]
Subject: Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91

On Tue, 20 Sep 2011 15:17:21 -0400
Casey Boardman <[email protected]> wrote:

> I've checked the Makefile, it seems to be right given what I've read.
>
> When I run make, I get(after building a bunch of stuff):
> gcc -L/usr/local/freetds/lib -L/usr/local/lib cmd_alias.o cmd_bcp.o
...
> sqsh_strchr.o sqsh_tok.o sqsh_var buf.o sqsh_main.o
> -lct -ltds -lnsl
       ^^^^^ remove that
> -ldl -lm -lreadline -lcurses -o sqsh
...
> fatal: file /usr/local/freetds/lib/libtds.a: unknown file type

Just a slight tweak to the Makefile: there is no libtds.a and no need
for it.  Everything you need should be in libct.so.

If you delete -ltds from the the link command line, that outta do it.

HTH.

--jkl
_______________________________________________
FreeTDS mailing list
[email protected]
http://lists.ibiblio.org/mailman/listinfo/freetds

This message is intended for the addressee only and may contain privileged or confidential information. Unless you are the intended recipient, you may not use, copy or disclose to anyone any information contained in this message. If you have received this message in error, please notify the author by replying to this message and then kindly delete the message. Thank you.
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.