Skip to Content.
Sympa Menu

freetds - Réf. : Re: [freetds] freetds-63 for AIX 5.1 : Undefined symbol: .tdsdump_open

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: rkk.cds AT nexans.com
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Réf. : Re: [freetds] freetds-63 for AIX 5.1 : Undefined symbol: .tdsdump_open
  • Date: Wed, 1 Jun 2005 17:49:33 +0200

Hi Martin,

I've installed your package.

I get the following error message :

root@luke:/usr/local/etc# isql -v PCS2
[IM002][unixODBC][Driver Manager]Data source name not found, and no
default driv
er specified
[ISQL]ERROR: Could not SQLConnect
root@luke:/usr/local/etc# isql -v PCS
[01000][unixODBC][Driver Manager]Can't open lib
'/opt/freetds/lib/libtdsodbc.a'
: 0509-022 Cannot load module /opt/freetds/lib/libtdsodbc.a.
0509-103 The module has an invalid magic number.
[ISQL]ERROR: Could not SQLConnect

Can you help me about this library , please?

RKK




Martin Spott <Martin.Spott AT mgras.net>
Envoyé par : freetds-bounces AT lists.ibiblio.org
01/06/2005 16:25
Veuillez répondre à FreeTDS Development Group


Pour : freetds AT lists.ibiblio.org
cc :
Objet : Re: [freetds] freetds-63 for AIX 5.1 : Undefined symbol:
.tdsdump_open


rkk.cds AT nexans.com wrote:

> I work on AIX 5.1.
> I ahve downloaded Freetds 0.63
>
> I configure freetds with the options :
>
> ./configure --includedir==/opt/freetds-063/include
>
> When i start "make" , i get the following message :
>
> .......
> /bin/sh ../../libtool --mode=link gcc -g -O2 -o freebcp freebcp.o
> ../dblib/l
> ibsybdb.la -lc
> gcc -g -O2 -o .libs/freebcp freebcp.o -L../dblib/.libs -lsybdb -liconv
> -lc -Wl,
>
-blibpath:/usr/local/lib:/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

Well, this is a known 'feature' on AIX. You have to manually add
several libraries to the linker by hand. In order to ease the use of
FreeTDS on AIX I made my simple binary 'distribution' open to the
public:


ftp://ftp.ihg.uni-duisburg.de/Databases/Sybase/FreeTDS/FreeTDS-0.63-AIX.tar.bz2

Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds






Archive powered by MHonArc 2.6.24.

Top of Page