Skip to Content.
Sympa Menu

freetds - Re: [freetds] isql failure (tsql works) -- server not found

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: jtgalyon AT gmail.com
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] isql failure (tsql works) -- server not found
  • Date: Sun, 02 Sep 2007 13:22:34 -0500

Thanks for the reply Freddy

Frediano Ziglio wrote:
> 2007/9/1, jtgalyon AT gmail.com <jtgalyon AT gmail.com>:
>
>
>> Is this related to the other post I entered about not being able to
>> build odbc for freetds?
>>
>> Since I had this problem with the packaged version I had (0.63) I was
>> hoping that compiling from cvs might have different results. However, I
>> can not build from source as for some strange reason (as the other post
>> points out) it can not find the sql.h and other related files of either
>> iodbc or unixodbc.
>>
>
>
>
> Yes, I though you fixed the problem. DM (either iodbc or unixodbc) require a
> driver (provided by FreeTDS) to connect to sql server. Usually there is a
> development package (*-dev.*deb for debian and derived or *-devel.*.rpm for
> redhat and derived).
>
> You can find the file with
>
> $ find /usr/include -name \*sql.h
>
> (isql.h for iodbc, sql.h for unixodbc). If you find sql.h of unixodbc in
> /usr/include you should add a --with-unixodbc=/usr command (well, in case of
> this directory configure should find automatically the directory, it's just
> an example).
>
>
>
Yes, the odd thing is that I have tried explicitly including the path in
--with-unixodbc after having ensured the dev files are there. I also
tried this with iodbc with no change. It is as if the configure file is
not looking where I tell it to.
>
>> Since this is a freetds log and not merely an odbc log I am assuming at
>> this point this is a freetds odbc binding problem. Not that of either
>> iodbc or unixodbc.
>>
>> Is this an unsafe assumption? How should I proceed?
>>
>> Thanks a lot for your help,
>> Jason
>>
>
>
>
> freddy77
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>





Archive powered by MHonArc 2.6.24.

Top of Page