The unixODBC package is an Open Source ODBC (Open DataBase Connectivity) sub-system and an ODBC SDK for Linux, Mac OSX, and UNIX. ODBC is an open specification for providing application developers with a predictable API with which to access data sources. Data sources include SQL Servers and any data source with an ODBC Driver. unixODBC contains the following components used to assist with the manipulation of ODBC data sources: a driver manager, an installer library and command line tool, command line tools to help install a driver and work with SQL, drivers and driver setup libraries and a suite of graphical tools used to administer ODBC, test drivers and browse data sources.
Download (HTTP): http://www.unixodbc.org/unixODBC-2.2.11.tar.gz
Download (FTP): ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/unixODBC-2.2.11.tar.gz
Download MD5 sum: 9ae806396844e38244cf65ad26ba0f23
Download size: 2.4 MB
Estimated disk space required: 82.5 MB
Estimated build time: 3.4 SBU (includes building the GUI tools)
Qt-3.3.7 (required to build the GUI tools), GNU Pth and Mini SQL
There is a circular dependency with Qt and unixODBC. If you need to build the Qt unixODBC plugin module, you will have to build and install unixODBC once without the GUI tools to satisfy the Qt build. Then, after Qt has been installed, you'll need to build and install unixODBC again if you wish to build the GUI tools.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/unixodbc
Install unixODBC by running the following commands:
sed -i "s/void yyerror/#define YY_FLUSH_BUFFER\n\n&/" sqp/lex.l && ./configure --prefix=/usr --sysconfdir=/etc/unixodbc \ --enable-ltdllib --enable-fdb --disable-gui && make
This package does not come with a test suite.
Now, as the root user:
make install && find doc -name "Makefile*" -exec rm {} \; && chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* && install -v -m755 -d /usr/share/doc/unixODBC-2.2.11 && cp -v -R doc/* /usr/share/doc/unixODBC-2.2.11
sed -i "..." sqp/lex.l: This fixes a build issue if using a compiler version greater than GCC-3.x.x.
--enable-ltdllib: This parameter causes the build to use the system-installed version of Libtool.
--enable-fdb: This parameter enables support for file-based data access.
--disable-gui: This parameter disables building the GUI tools. Remove it if you have Qt installed and wish to build the GUI tools.
The files in /etc/unixodbc are meant to be configured by the system administrator (or the ODBC site administrator if appropriate privileges are granted to /etc/unixodbc). These files are not meant to be directly edited. The ODBC installer library is responsible for reading and writing the unixODBC config files.
Unfortunately, there are no man or info pages for the various programs available in the unixODBC package. Along with the information in the “Short Descriptions” below and the documentation installed in /usr/share/doc/unixODBC-2.2.11, there are many README files throughout the source tree where the use and functionality of the programs can be found. Additionally, you can use the parameter -? with the non-GUI tools for syntax and usage information. Lastly, the unixODBC web site at http://www.unixodbc.org/ has very good information.
Last updated on 2007-01-18 13:38:19 -0600