Skip to Content.
Sympa Menu

freetds - 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: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] freetds-63 for AIX 5.1 : Undefined symbol: .tdsdump_open
  • Date: Mon, 30 May 2005 18:46:10 -0400

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/li
> b:/lib
>
> ld: 0711-317 ERROR: Undefined symbol: .tdsdump_open
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.

I don't use AIX and will be of limited help to you, I'm sure.

You're apparently using the AIX linker, which is complaining about not
finding '.tdsdump_open' in libsybdb.

I'd first make sure, with nm(1), that the symbol is present:

$ nm -o libsybdb.so.5.0 libsybdb.a | grep tdsdump_open
libsybdb.so.5.0:0001cb24 T tdsdump_open
libsybdb.a:util.o:00000298 T tdsdump_open
libsybdb.a:login.o: U tdsdump_open
libsybdb.a:config.o: U tdsdump_open

If that proves to be the case, you'll want to consult your linker manual
for what knob to turn. If you find anything useful, I'd be happy to
include it in the UG.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page