Skip to Content.
Sympa Menu

freetds - [freetds] Re: RE: freeTDS unixODBC...Which one isn't working

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Daughterson, Adam [EPM/BOU/MMI]" <Adam.Daughterson1 AT EmersonProcess.com>
  • To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Re: RE: freeTDS unixODBC...Which one isn't working
  • Date: Tue, 30 Dec 2003 10:53:02 -0600

OK, I think I am understanding the Way here...

> [esp_ms_sql]
> Driver = /usr/local/freetds/lib/libtdsodbc.so

Something is not right. Did you install FreeTDS in

/usr/local
or
/usr/local/freetds

I specified /usr/local/freetds with the --prefix option. (This was the path
in the earlier documentation, so for the sake of clarity, I put it there...)

I'm curious, what does "ldd `command -v isql` " show?

--jkl

Here's the output of that command:
root@USBOU1-DHDLINUX:~# ldd `command -v isql`
libodbc.so.1 => /usr/local/lib/libodbc.so.1 (0x40016000)
libodbcinst.so.1 => /usr/local/lib/libodbcinst.so.1 (0x40075000)
libdl.so.2 => /lib/libdl.so.2 (0x40097000)
libreadline.so.4 => /usr/lib/libreadline.so.4 (0x4009a000)
libncurses.so.5 => /lib/libncurses.so.5 (0x400c6000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40102000)
libc.so.6 => /lib/libc.so.6 (0x40153000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
root@USBOU1-DHDLINUX:~#

I changed /usr/local/etc/odbc.ini and ~/odbc.ini to reflect the driver being
libodbc.so.1 (from ldd above) instead of libtdsodbc.so (which one's which?
Ah, future question I guess...) and it still didn't work. Still not writing
anything to the dumpfile either.
Adam Daughterson



  • [freetds] Re: RE: freeTDS unixODBC...Which one isn't working, Daughterson, Adam [EPM/BOU/MMI], 12/30/2003

Archive powered by MHonArc 2.6.24.

Top of Page