[freetds] Freetds 0.62.4 on Solaris 8

Martin Spott Martin.Spott at uni-duisburg.de
Fri Sep 24 10:15:55 EDT 2004

"Simon Taylor" wrote:
> Having problems when running make.

> Getting the following error:-

> /bin/bash ../../libtool --mode=link gcc  -g -O2   -o tsql  tsql.o -lncurses
> -lreadline ../tds/libtds.la -lnsl -lsocket  
> gcc -g -O2 -o .libs/tsql tsql.o  -lncurses -lreadline ../tds/.libs/libtds.so
> -lnsl -lsocket -R/usr/local/lib
> Undefined                       first referenced
>  symbol                             in file
> tds_set_interfaces_file_loc         tsql.o

Sounds familiar to me - I usually add "-l<something>" to the linker
command ....  but I have forgotten which one. I assume you simply might
want to try "-ltds" (although it's already defined in another way).
I'll verify that,

 Unix _IS_ user friendly - it's just selective about who its friends are !

More information about the FreeTDS mailing list