[freetds] tsql problem

Nick Stoughton nick at msbit.com
Fri Jun 18 17:20:33 EDT 2004


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 at 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 at 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>




More information about the FreeTDS mailing list