Skip to Content.
Sympa Menu

freetds - Re: [freetds] AIX 5.3 Make problem

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] AIX 5.3 Make problem
  • Date: Fri, 25 Jul 2008 15:27:08 -0400

Andrew Russell wrote:
> /bin/sh ../../libtool --tag=CC --mode=link xlc_r -D_THREAD_SAFE -g
> -L/usr/local/easysoft/unixODBC/lib -o bsqlodbc bsqlodbc-bsqlodbc.o
> -lodbc ../replacements/libreplacements.la -lpthreads libtool: link:
> xlc_r -D_THREAD_SAFE -g -o bsqlodbc bsqlodbc-bsqlodbc.o
> -L/usr/local/easysoft/unixODBC/lib -lodbc
> ../replacements/.libs/libreplacements.a -lpthreads ld: 0711-317 ERROR:
> Undefined symbol: .SQLGetDiagField

That seems to mean /usr/local/easysoft/unixODBC/lib/libodbc.* is not
exporting the ODBC functions. I'm not an AIX user and can't tell you
specifically what tool to use to check that. On NetBSD we use nm(1):

$ nm /usr/local/lib/libodbc.so.1 | grep SQLGetDiagField
0001a270 T SQLGetDiagField
0001a234 T SQLGetDiagFieldA
0002dd00 T SQLGetDiagFieldW

and the T means the library provides the function.

HTH.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page