Skip to Content.
Sympa Menu

freetds - Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Casey Boardman <cboardman AT batterymarch.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Can't make SQSH 2.1.7 with freetds 0.91
  • Date: Wed, 21 Sep 2011 10:56:50 -0400

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: freetds-bounces AT lists.ibiblio.org [freetds-bounces AT lists.ibiblio.org]
On Behalf Of James K. Lowden [jklowden AT freetds.org]
Sent: Tuesday, September 20, 2011 10:33 PM
To: freetds AT lists.ibiblio.org
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 <cboardman AT batterymarch.com> 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
FreeTDS AT lists.ibiblio.org
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.




Archive powered by MHonArc 2.6.24.

Top of Page