steve strychowski | 20 Aug 21:22

compiling freetds under 64b linux

what do i need to do to compile freetds under redhat linux 5.0 64b 

I have compiled freetds with the following per
http://www.freetds.org/userguide/config.htm

./configure --enable-msdblib
make
make install
make clean

i then used ODBCConfig to set the .ini files
then added my "servers" to the freetds.conf file

i can connect with isql and tsql and it seems to work fine.  However, i
don't know if i am using a 64bit version or 32bit version of the driver.
The problem is when i use oracle dg4odbc i get the following error.
ntered hgolofns at 2008/08/20-14:25:26
 libname=/usr/local/lib/libtdsodbc.so.0.0.0, funcname=SQLCancel
 symbol_peflctx=0xae5c65f0
 hoaerr:0
Exiting hgolofns at 2008/08/20-14:25:26
Entered hgolofns at 2008/08/20-14:25:26
 libname=/usr/local/lib/libtdsodbc.so.0.0.0, funcname=SQLDescribeParam
 hoaerr:28500
Exiting hgolofns at 2008/08/20-14:25:26
Failed to load ODBC library
symbol: /usr/local/lib/libtdsodbc.so.0.0.0(SQLDescribeParam)
Exiting hgolofn, rc=28500 at 2008/08/20-14:25:26
Exiting hgoinit, rc=28500 at 2008/08/20-14:25:26 with error ptr
FILE:hgoinit.c LINE:282 FUNCTION:hgoinit() ID:Loading ODBC aray of
function ptrs
Entered hgoexit at 2008/08/20-14:25:26

please advise

Thanks in advance

Gmane