[unixODBC-support] unixODBC Setup on Gentoo

Spencer Ogden spencer at spencerogden.com
Thu Aug 30 00:14:00 BST 2012

On 8/29/2012 7:02 PM, Nick Gorham wrote:
> Check you have a 64 bit unixODBC.
> Then try
> ldd /usr/lib64/libsqlite3odbc.so
> To make sure it is not missing dependancies.
> or
> dltest /usr/lib64/libsqlite3odbc.so SQLConnect
> to see if it still loads.

Hi Nick, Thanks for your quick response.

unixODBC was compiled on this machine, so I think it must be 64-bit. 
Here is some output:

# odbc_config --libs
-L/usr/lib64 -lodbc
  # file `which isql`
/usr/bin/isql: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), 
dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
  # ldd /usr/lib64/libsqlite3odbc.so
         linux-vdso.so.1 (0x00007fff6a9ff000)
         libsqlite3.so.0 => /usr/lib64/libsqlite3.so.0 (0x00007f2fc0e61000)
         libdl.so.2 => /lib64/libdl.so.2 (0x00007f2fc0c5d000)
         libc.so.6 => /lib64/libc.so.6 (0x00007f2fc08b3000)
         libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2fc0696000)
         /lib64/ld-linux-x86-64.so.2 (0x00007f2fc1342000)
  # dltest /usr/lib64/libsqlite3odbc.so SQLConnect
SUCCESS: Loaded /usr/lib64/libsqlite3odbc.so
SUCCESS: Found SQLConnect

More information about the unixODBC-support mailing list