[freetds] tsql problem

kevin bartz kbartz at loyaltymatrix.com
Fri Jun 18 16:40:47 EDT 2004

Hi. I'm having a problem with tsql. Running it, no matter the arguments, I


kevin at redtail:~/test> tsql

tsql: error while loading shared libraries: libtds.so.3: cannot open shared
object file: No such file or directory


ldd gives


kevin at redtail:~/test> ldd /usr/local/bin/tsql

        libreadline.so.4 => /usr/local/lib/libreadline.so.4

        libtds.so.3 => not found

        libc.so.6 => /lib64/libc.so.6 (0x0000002a957a5000)

        /lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2


The funny thing is, libtds.so.3 is in /usr/local/lib with everything else.
Here it is:


kevin at redtail:~/test> ls /usr/local/lib

ess                    libreadline.old         libtdsodbc.la

libct.a                libreadline.so          libtdsodbc.so

libct.la               libreadline.so.4        libtdsodbc.so.0

libct.so               libreadline.so.4.3      libtdsodbc.so.0.0.0

libct.so.2             libreadline.so.4.3.old  libtds.so

libct.so.2.0.0         libsybdb.a              libtds.so.3

libhistory.a           libsybdb.la             libtds.so.3.0.0

libhistory.old         libsybdb.so             libtdssrv.a

libhistory.so          libsybdb.so.4           libtdssrv.la

libhistory.so.4        libsybdb.so.4.0.0       libtdssrv.so

libhistory.so.4.3      libtds.a                libtdssrv.so.1

libhistory.so.4.3.old  libtds.la               libtdssrv.so.1.0.0

libreadline.a          libtdsodbc.a            R


Any ideas how I can get tsql to "see" libtds.so.3?


FYI, I'm on SuSe running Bash and I downloaded the most recent stable
freetds and installed it with ./configure, make, make install.


Kevin Bartz

More information about the FreeTDS mailing list