Skip to Content.
Sympa Menu

freetds - [freetds] tsql problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "kevin bartz" <kbartz AT loyaltymatrix.com>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] tsql problem
  • Date: Fri, 18 Jun 2004 13:40:47 -0700

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



kevin@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@redtail:~/test> ldd /usr/local/bin/tsql

libreadline.so.4 => /usr/local/lib/libreadline.so.4
(0x0000002a9566d000)

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
(0x0000002a95556000)



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



kevin@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





Archive powered by MHonArc 2.6.24.

Top of Page