Skip to Content.
Sympa Menu

freetds - Re: [freetds] tsql problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Nick Stoughton <nick AT msbit.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] tsql problem
  • Date: Fri, 18 Jun 2004 14:20:33 -0700

On Fri, 2004-06-18 at 13:40, kevin bartz wrote:
> 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
>
What OS? Linux?

>
>
> 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)
>
EITHER: set your environment variable LD_LIBRARY_PATH to include
/usr/local/lib
(Bash): export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

OR: (as root) set it permanently in your ld.so.conf file by
/sbin/ldconfig -n /usr/local/lib
(assumes a GNU/Linux OS)
>
>
> The funny thing is, libtds.so.3 is in /usr/local/lib with everything else.


--
Nick Stoughton <nick AT msbit.com>





Archive powered by MHonArc 2.6.24.

Top of Page