[freetds] 0.63 Release Candidate 2
Martin Spott
Martin.Spott at uni-duisburg.de
Wed Dec 1 17:03:47 EST 2004
"Spadea, David NYC" wrote:
> gcc -g -O2 -o .libs/tsql tsql.o -L/export/home/dbspadea/3rd/unixODBC//lib
> ../tds/.libs/libtds.so /usr/local/lib/libiconv.so -L/usr/local/lib
> -L/usr/lib -L/usr/openwin/lib -lnsl -lsocket -lc
> -R/export/home/dbspadea/3rd/freetds-0.63RC2/lib -R/usr/local/lib
> Undefined first referenced
> symbol in file
> tds_set_interfaces_file_loc tsql.o
I'd so something like this:
# ~> for i in `find ../ -type f -name lib\*\.a`; do echo $i; nm $i | grep tds_set_interfaces_file_loc; done
.... in the 'apps/' directory and you'll find out that you have to add
../tds/.libs/libtds_objects.a
in order to link 'tsql'. Later on it probably tells you that you have to add
../replacements/.libs/libreplacements.a
- same as on AIX,
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
More information about the FreeTDS
mailing list