Re: Can't make SQSH 2.1.7 with freetds 0.91
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
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