Re: AIX 5.3 Make problem

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.