Skip to Content.
Sympa Menu

freetds - Re: [freetds] 0.63 Release Candidate 2

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Martin Spott <Martin.Spott AT uni-duisburg.de>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] 0.63 Release Candidate 2
  • Date: Wed, 1 Dec 2004 22:03:47 +0000 (UTC)

"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 !
--------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page