freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] compiling freetds unixodbc doesn't make libtdsodbc.so
- From: "Strychowski, Stephen" <SSTRYCHOWSKI AT NADA.org>
- To: <freetds AT lists.ibiblio.org>
- Subject: [freetds] compiling freetds unixodbc doesn't make libtdsodbc.so
- Date: Thu, 4 Jun 2009 10:43:20 -0400
All,
I have had tried many different cflags and continuously get the same
results, no libtdsodbc.so
I have been able to build successfully against the unixODBC rpm 2.2.11
rpm but I get type mismatches so I need to play with the sqllen sizes
to make this work with oracle dg4odbc
I am building on centos5.2 64bit
cd /home/oracle/Desktop/unixODBC-2.2.14
make clean
make uninstall
cd /home/oracle/Desktop/freetds-0.82
make clean
make uninstall
rm -rf /usr/local/unixODBC64 /usr/local/freetds64
cd /home/oracle/Desktop/unixODBC-2.2.14
GCCFLAGS="-DBUILD_LEGACY_64_BIT_MODE -DSIZEOF_LONG_INT=4" ./configure
--prefix=/usr/local/unixODBC64 --enable-drivers=yes --enable-gui=no
make
make install
cd /home/oracle/Desktop/freetds-0.82
GCCFLAGS="--DBUILD_LEGACY_64_BIT_MODE -DSIZEOF_LONG_INT=4" ./configure
--prefix=/usr/local/freetds64 --with-unixODBC=/usr/local/unixODBC64
--enable-msdblib --with-tdsver=8.0
make
make install
you will notice that the file /usr/local/freetds64/lib/libtdsodbc.so is
not listed
why???
[root@centosc02192 freetds-0.82.1.dev.20090404]# ls
/usr/local/freetds64/lib/*
/usr/local/freetds64/lib/libct.a
/usr/local/freetds64/lib/libsybdb.a
/usr/local/freetds64/lib/libct.la
/usr/local/freetds64/lib/libsybdb.la
/usr/local/freetds64/lib/libct.so
/usr/local/freetds64/lib/libsybdb.so
/usr/local/freetds64/lib/libct.so.4
/usr/local/freetds64/lib/libsybdb.so.5
/usr/local/freetds64/lib/libct.so.4.0.0
/usr/local/freetds64/lib/libsybdb.so.5.0.0
[root@centosc02192 freetds-0.82.1.dev.20090404]# ls
/usr/local/unixODBC64/lib/*
/usr/local/unixODBC64/lib/libnn.la
/usr/local/unixODBC64/lib/libodbc.la
/usr/local/unixODBC64/lib/libnn.so
/usr/local/unixODBC64/lib/libodbcpsql.la
/usr/local/unixODBC64/lib/libnn.so.1
/usr/local/unixODBC64/lib/libodbcpsql.so
/usr/local/unixODBC64/lib/libnn.so.1.0.0
/usr/local/unixODBC64/lib/libodbcpsql.so.2
/usr/local/unixODBC64/lib/libodbccr.la
/usr/local/unixODBC64/lib/libodbcpsql.so.2.0.0
/usr/local/unixODBC64/lib/libodbccr.so
/usr/local/unixODBC64/lib/libodbc.so
/usr/local/unixODBC64/lib/libodbccr.so.1
/usr/local/unixODBC64/lib/libodbc.so.1
/usr/local/unixODBC64/lib/libodbccr.so.1.0.0
/usr/local/unixODBC64/lib/libodbc.so.1.0.0
/usr/local/unixODBC64/lib/libodbcinst.la
/usr/local/unixODBC64/lib/libtemplate.la
/usr/local/unixODBC64/lib/libodbcinst.so
/usr/local/unixODBC64/lib/libtemplate.so
/usr/local/unixODBC64/lib/libodbcinst.so.1
/usr/local/unixODBC64/lib/libtemplate.so.1
/usr/local/unixODBC64/lib/libodbcinst.so.1.0.0
/usr/local/unixODBC64/lib/libtemplate.so.1.0.0
[root@centosc02192 freetds-0.82.1.dev.20090404]#
/usr/local/unixODBC64/bin/odbc_config --ulen
-DSIZEOF_SQLULEN=8
[root@centosc02192 freetds-0.82.1.dev.20090404]#
/usr/local/unixODBC64/bin/odbcinst -j
unixODBC 2.2.15pre
DRIVERS............: /usr/local/unixODBC64/etc/odbcinst.ini
SYSTEM DATA SOURCES: /usr/local/unixODBC64/etc/odbc.ini
FILE DATA SOURCES..: /usr/local/unixODBC64/etc/ODBCDataSources
USER DATA SOURCES..: /root/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8
thanks in advance
-
[freetds] compiling freetds unixodbc doesn't make libtdsodbc.so,
Strychowski, Stephen, 06/04/2009
- <Possible follow-up(s)>
- Re: [freetds] compiling freetds unixodbc doesn't make libtdsodbc.so, Buurman, H.A. (Herbert), 06/04/2009
Archive powered by MHonArc 2.6.24.