Installing the Driver on Linux
Pavel Cisar
There are two prerequisites for installing the ODBC/JDBC driver on Linux:
-
The “unixODBC” package must be installed
-
Firebird must be installed, initially at least, for testing the installation
Pavel Cisar
There are two prerequisites for installing the ODBC/JDBC driver on Linux:
The “unixODBC” package must be installed
Firebird must be installed, initially at least, for testing the installation
The ODBC/JDBC driver packages for Linux are gzipped tar
files.After gunzip
they should be processed by tar, or you can rename them to .tar.gz
and use a tool such as Midnight Commander to unpack them.
Building from source code (recommended), requires the development package for unixODBC.Proceed with the following steps:
Download and unpack the Firebird driver sources
Rename makefile.linux
in .source/Builds/Gcc.lin
to makefile
Set the evironment variables FBINCDIR
(Firebird include directory) and FBLIBDIR
(Firebird lib directory) if necessary.
Run make
which will create the library libOdbcFb.so
in a subdirectory
It is possible to copy the library to /usr/local/lib64
or any preferred directory;or run make install
to symlink the library from the unixODBC
directory
To install from the binary package, copy libOdbcFb.so
to /usr/local/lib64
, /usr/local/lib32
or any other desired destination directory, as appropriate.