freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Martin Spott <Martin.Spott AT uni-duisburg.de>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] Solaris linking
- Date: Wed, 8 Dec 2004 22:08:43 +0000 (UTC)
Frediano Ziglio wrote:
> This should fix problems even on AIX (as you and James suggest it use
> static linking for tsql).
If you tell me what you intended to change, I'll have a look at the
details and see if it worked out. Unfortunately we didn't reach the
goal of compiling the whole stuff right out of the box. AIX:
make[2]: Entering directory `/usr/local/src/freetds-0.63RC3/src/apps'
/bin/sh ../../libtool --mode=link gcc -mcpu=604e -mtune=604e
-mpowerpc-gpopt -mpowerpc-gfxopt -O3 -L/opt/gnu/lib -L/usr/local/lib
-L/opt/freeware/lib -static-libgcc -s -L/opt/unixODBC/lib -o freebcp
freebcp.o ../dblib/libsybdb.la -lc
gcc -mcpu=604e -mtune=604e -mpowerpc-gpopt -mpowerpc-gfxopt -O3
-static-libgcc -s -o .libs/freebcp freebcp.o -L/opt/gnu/lib
-L/usr/local/lib -L/opt/freeware/lib -L/opt/unixODBC/lib
-L../dblib/.libs -lsybdb -lc
-Wl,-blibpath:/opt/freetds/lib:/opt/gnu/lib:/usr/local/lib:/opt/freeware/lib:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/powerpc:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2:/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .tdsdump_open
Solaris:
make[2]: Entering directory `/usr/local/src/freetds-0.63RC3/src/apps'
/bin/bash ../../libtool --mode=link gcc -g -O2 -o tsql tsql.o
../replacements/libreplacements.la ../tds/libtds_objects.la -lnsl
-lsocket -static-libgcc -lncurses -lreadline -lc
gcc -g -O2 -o tsql tsql.o -static-libgcc
../replacements/.libs/libreplacements.a ../tds/.libs/libtds_objects.a
-lnsl -lsocket -lncurses -lreadline -lc
Undefined first referenced
symbol in file
tds_sys_iconv ../tds/.libs/libtds_objects.a(iconv.o)
tds_sys_iconv_close ../tds/.libs/libtds_objects.a(iconv.o)
vasprintf ../tds/.libs/libtds_objects.a(query.o)
asprintf ../tds/.libs/libtds_objects.a(login.o)
tds_sys_iconv_open ../tds/.libs/libtds_objects.a(iconv.o)
Martin.
BTW: To ease 'configure' I use this script:
ftp://ftp.uni-duisburg.de/Databases/Sybase/FreeTDS/configure
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
-
Re: [freetds] Solaris linking
, (continued)
-
Re: [freetds] Solaris linking,
Martin Spott, 12/07/2004
-
Re: [freetds] Solaris linking,
Frediano Ziglio, 12/07/2004
- Re: [freetds] Solaris linking, Martin Spott, 12/07/2004
- Re: [freetds] Solaris linking, Frediano Ziglio, 12/07/2004
- Re: [freetds] Solaris linking, Martin Spott, 12/08/2004
- Re: [freetds] Solaris linking, Frediano Ziglio, 12/08/2004
- Re: [freetds] Solaris linking, Alex S Moore, 12/08/2004
- Re: [freetds] Solaris linking, Martin Spott, 12/08/2004
- Re: [freetds] Solaris linking, Alex S Moore, 12/08/2004
- Re: [freetds] Solaris linking, Frediano Ziglio, 12/08/2004
-
Re: [freetds] Solaris linking,
Frediano Ziglio, 12/07/2004
-
Re: [freetds] Solaris linking,
Martin Spott, 12/07/2004
- Re: [freetds] Solaris linking, Martin Spott, 12/08/2004
Archive powered by MHonArc 2.6.24.