Skip to Content.
Sympa Menu

freetds - Re: [freetds] Solaris linking

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] Solaris linking
  • Date: Tue, 7 Dec 2004 14:23:15 +0000 (UTC)

Frediano Ziglio wrote:

> - in src/tds/Makefile find the line that start with libtds_la_LIBADD and
> replace with this line (it's a single line)
>
> libtds_la_LIBADD = -static ../replacements/libreplacements.la
> libtds_objects.la $(NETWORK_LIBS) $(LIBICONV) $(FREETDS_LIBGCC)

In fact this only adds '-static' - the rest is already in place.
Everything links against each other without any trouble. The 'result'
looks like this on Solaris:

foehn: 15:11:33 ~> ldd /opt/freetds/bin/tsql
libncurses.so.5 => /usr/local/lib/libncurses.so.5
libreadline.so.4 => /usr/local/lib/libreadline.so.4
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libc.so.1 => /usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2


.... and on AIX:

osprey: 15:21:28 ~> ldd /opt/freetds/bin/tsql
/usr/lib/libcurses.a(shr42.o)
/opt/freeware/lib/libreadline.a(libreadline.so.4)
/opt/freetds/bin/tsql
/usr/lib/libcrypt.a(shr.o)
/usr/lib/libc.a(shr.o)


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




Archive powered by MHonArc 2.6.24.

Top of Page