Re: Can't make SQSH 2.1.7 with freetds 0.91

Konrad J Hambrick <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Organization PayPlus Software, Inc
Message-ID <[email protected]>
Casey --

Where are your freetds libs ?

Mine end up in /usr/local/lib

In that case:

    export SYBASE=/usr/local/

Instead of

    export SYBASE=/usr/local/freetds

Works for me.

-- kjh

Casey Boardman wrote, On 09/21/2011 09:56 AM:
> 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.
> _______________________________________________
> FreeTDS mailing list
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
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.