Réf. : Re: [freetds] freetds-63 for AIX 5.1 : Undefinedsymbol: .tdsdump_open
rkk.cds at nexans.com
rkk.cds at nexans.com
Wed Jun 1 11:49:33 EDT 2005
Hi Martin,
I've installed your package.
I get the following error message :
root at 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 at 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
More information about the FreeTDS
mailing list