I have installed unixODBC and the Relativity client on Linux and can query the database using the relclienttest utility.
However, when I attempt to query the database using isql, I get the following error:
# isql -v mydsn
[01000][unixODBC][Driver Manager]Can't open lib '/usr/local/liant/lib/relclient.so' : file not found
[ISQL]ERROR: Could not SQLConnect
Needless to say, the reclient library is in the specified directory and is readable.
From extensive Googling of the problem, it seems that the issue is that the Relativity client is 32 bit and isql is 64 bit:
# file /usr/bin/isql
/usr/bin/isql: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
# file /usr/local/liant/lib/relclient.so
/usr/local/liant/lib/relclient.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, not stripped
I am aware that there is no 64 bit client for Relativity.
How have others got around this problem?
#Relativity
#unixODBC