Re: unixodbc: no ??

Brian Bruns <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAAATWxn5Y7VSoQ-4dZyMipL11oecpw+H6Ky3qRrQ+fjNOegF8A@mail.gmail.com>
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
<[email protected]> 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
> [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.