Skip to Content.
Sympa Menu

freetds - Re: [freetds] unixodbc: no ??

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <brian AT bruns.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] unixodbc: no ??
  • Date: Fri, 7 Oct 2011 20:47:03 -0400

You definitely need the unixODBC-devel package. It is the package
that contains sql.h and other header files. The unixODBC package has
just the libraries and command line programs.

I'm not real familiar with SUSE but I think you can install it through
yast? Or directly with rpm.

Brian

On Fri, Oct 7, 2011 at 4:12 PM, Perl_to_SQL_Server
<JGrenetier AT hotmail.com> wrote:
> Thanks much for your answer, here's what I've got from an untouched Linux
> version 2.6.16.72 (SUSE Linux):
>
> /usr/bin/odbc_config
> /usr/bin/odbcinst
>
> then:
>
> /usr/lib/libodbccr.so.1 -> libodbccr.so.1.0.0
> /usr/lib/libodbcinst.so -> libodbcinst.so.1.0.0
> /usr/lib/libodbcinst.so.1 -> libodbcinst.so.1.0.0
> /usr/lib/libodbc.so -> libodbc.so.1.0.0
> /usr/lib/libodbc.so.1 -> libodbc.so.1.0.0
> libodbccr.so.1.0.0
> libodbc.so.1.0.0
> libodbcinst.so.1.0.0
>
> and:
>
> /user/lib/unixODBC/libodbcdrvccfg*.so.1 (or .so.1.00)
> /user/lib/unixODBC/libodbcminiS*  etc...
> /user/lib/unixODBC/libodbcmyS*
> /user/lib/unixODBC/libodbcnnS*
> /user/lib/unixODBC/libodbcpsql*
> /user/lib/unixODBC/libodbctxt*
> etc..
>
> Now I can see in freetds-0.91/config.log:
> conftest.c:65:17 error: sql.h: No such file or directory
> and
> configure:16582: error: sql.h not found
>
> I'm not sure what to do. I was about to download a fresh unixODBC but our
> sysad
> is indicating it could clash with our old Linux versions (2.2.6 on my local,
> but is 2.4.21 on the server that we'll need it eventually).
>
> TDS version=7.2 yes, not 7.20 - thanks!
>
>
>
>
>
>
> _______________________________________________
> 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