[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] unixODBC
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] unixODBC |
Date: |
Thu, 25 Sep 2008 00:30:32 +0400 |
Hi Xypron,
> currently the configure script only allows to use package iODBC to
> connect to databases via ODBC. A common alternative package is unixODBC.
> For using unixODBC no changes in the coding are necessary. Only library
> libodbc.so has to be specified instead of libiodbc.so.
> To install unixODBC on Debian (or Ubuntu) use command
> sudo apt-get install unixodbc
> The development package (with the header files like sql.h) is
> available via:
> sudo apt-get install unixodbc-dev
> Debian Etch and Lenny (and Ubuntu Gutsy) deliver the unixODBC library
> as libodbc.so.1. The following missing symbolic link can be created
> manually:
> sudo ln -s /usr/lib/libodbc.so.1 /usr/lib/libodbc.so
> cf.
> http://www.unixodbc.org/doc/OOoMySQL.pdf
> I would appreciate if you could provide the name of the ODBC library
> as a parameter in the configure script (e.g. as parameter to
> --enable-odbc).
My suggestion is the following:
--enable-odbc the same as 'yes'
--enable-odbc=no disable using odbc (default)
--enable-odbc=yes use the package iODBC (assumes libiodbc.so)
--enable-odbc=unix use the package unixODBC (assumes libodbc.so)
Andrew Makhorin