If you already have the unixODBC manager installed, skip this section and proceed to Configure the unixODBC Driver Manager.
- Download the unixODBC driver manager from http://www.unixodbc.org/, depending on the version you want to install.
-
Install unixODBC by running the following commands:
# CFLAGS="-DSIZEOF_LONG=8" ./configure --prefix=/usr \ --sysconfdir=/etc/unixodbc \ --enable-fdb \ --disable-gui && make
- Wait while it builds and installs.
-
Working as root user, run this, substituting your version of the driver where appropriate:
# make install && find doc -name "Makefile*" -exec rm {} \; && chmod 644 doc/{lst,ProgrammerManual/Tutorial}/* && install -v -m755 -d /usr/share/doc/unixODBC-2.3.1 && cp -v -R doc/* /usr/share/doc/unixODBC-2.3.1
-
Check the installation by typing the following command. This prints version information and lists the names and locations of the configuration files you will need to install or set up.
# odbcinst -j
If your unixODBC installation is not working properly, check the instructions at http://www.iodbc.org for help.
- Proceed to the next section, Configure the unixODBC Driver Manager.