Testing the Configuration
UnixODBC has a tool named ISQL
(not to be confused with Firebird’s tool of the same name!) that you can use to test the connection, as follows:
isql -v employee
If you have connection problems, make sure the directory where you placed the Firebird ODBC shared library, e.g. /usr/local/lib64/libOdbcFb.so
, is on the system loadable library path.If not you could set:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/odbc
or, more simply,
export LD_LIBRARY_PATH=/usr/lib/odbc
If you still have problems, the next thing is to try an strace
to try to identify them:
strace -o output.txt isql -v employee