freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Zachariah Mully" <zmully AT smartbrief.com>
- To: "FreeTDS" <freetds AT franklin.oit.unc.edu>
- Subject: Perl and ODBC
- Date: Mon, 14 May 2001 19:05:32 -0400
Hello all-
First, thank you to all the developers who have been working on
FreeTDS, we got FreeTDS JDBC and FreeTDS/DBD::Sybase up in working in
one day (actually 2 hrs, plus plenty of testing)... We spent a week
screwing around with a commercial JDBC driver for Sql Server and never
got it working.
Anyhow, I have a question about the FreeTDS User Guide
(http://www.freetds.org/userguide/x705.htm), in particular the section
on how to use the iODBC driver manager. I am trying to build the Perl
DBD::ODBC module with the FreeTDS ODBC libraries, as described in the
User Guide, and FreeTDS isn't compiling the ODBC libraries. I am using
FreeTDS 0.51, iODBC 2.50.3, perl 5.6.1 on Redhat 7.1 (2.2.16-22smp)and I
make freetds the following way:
first iODBC:
./configure --prefix=/usr/local --with-iodbc-inidir=/etc
make
make install
then FreeTDS:
./configure --prefix=/usr/local/freetds --with-iodbc=/usr/local --with-t
dsver=7.0 (as well as setting $TDSVER=70)
make
make install
When I run 'make' I get the following when it descends into
freetds/src/odbc where I am assuming the odbc library code is:
Making all in odbc
make[2]: Entering directory `/home/src/freetds-0.51/src/odbc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/src/freetds-0.51/src/odbc'
In the freetds/src/odbc directory are the files:
-rw-r--r-- 1 root root 6846 May 14 18:56 Makefile
-rw-rw-r-- 1 root users 450 Oct 25 2000 Makefile.am
-rw-rw-r-- 1 root users 6717 Nov 19 13:05 Makefile.in
-rw-r--r-- 1 root users 9636 Sep 25 2000 connectparams.c
-rw-r--r-- 1 root users 22002 Sep 25 2000 odbc.c
According to the Users Guide, I should get a library
/usr/local/freetds/lib/libtdsodbc.so to use with iODBC out of the
compile and install process. This file does not get made and I am
wondering 1) if it does truly exist 2) what is wrong with my makefile 3)
how to change my makefile to get it to work.
Thanks,
Zack
-
Perl and ODBC,
Zachariah Mully, 05/14/2001
- <Possible follow-up(s)>
- Re: Perl and ODBC, Brian Bruns, 05/14/2001
- Re: Perl and ODBC, James K. Lowden, 05/15/2001
- Re: Perl and ODBC, Zachariah Mully, 05/16/2001
Archive powered by MHonArc 2.6.24.