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 16:05:12 -0400

Andrew Russell wrote:
> "James K. Lowden" <jklowden AT freetds.org> 7/25/2008 2:27 PM
> > 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
>
> When I run nm on that file, I get nothing. Where do I go from here?

Back up and rebuild unixODBC such that it produces a useable library.

Understand I don't *know* AIX nm(1). But your report and symptoms both
indicate the library is missing required symbols.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page