freeTDS configure works but make doesn't
Vann, David <dvann2 <at> valleyhealthlink.com>
2013-05-09 13:13:40 GMT
Any help would be appreciated.
I'm trying to run freeTDS on AIX 5.3 64bit. I've tried versions 0.91 and 0.92.79. I using unixODBC driver
manager version 2.3.1. It has compiled cleanly and is running. It was compiled in 64 bit mode. The ultimate
result is to run with Oracle 11gR2 which is also 64 bit.
. The configure seems to work fine, but the make fails.
./configure --prefix=/usr/local --with-unixodbc=/usr/local --with-tdsver=8.0 --enable-msdblib
2>&1 | tee configure.log
-- This looks good, but when I run make I get errors.
You can see I enabled MSDBLIB however during the make it fails and it looks like it still wants to compile
Sybase. It's all on fisql.c and I found the objects(.dbcoltype;.dbcollen;.dbcolname;etc) it's
referenced in sybdb.h. I'm not sure why it's compiling Sybase nor do I understand why it can't find the
objects referenced when they're in the TDS source directory. I've tried setting the srcdir and that
Below is a snapshot of the make that fails.
libtool: link: /usr/local/TDS/freetds-0.91/compile gcc -D_THREAD_SAFE -maix64 -W
declaration-after-statement -o .libs/fisql fisql.o terminal.o edit.o handlers.o
interrupt.o -L/usr/local/lib -L../../dblib/.libs -lsybdb ../../replacements/.li
bs/libreplacements.a -liconv -lcurses -lreadline -lpthreads -Wl,-blibpath:/usr/l
ld: 0711-317 ERROR: Undefined symbol: .dbcoltype
ld: 0711-317 ERROR: Undefined symbol: .dbcollen
ld: 0711-317 ERROR: Undefined symbol: .dbcolname
ld: 0711-317 ERROR: Undefined symbol: .dbdead