Skip to Content.
Sympa Menu

freetds - Re: [freetds] I found the exact reason why the odbc driver of FreeTDS can't work with iODBC, but I don't know how to solve it.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] I found the exact reason why the odbc driver of FreeTDS can't work with iODBC, but I don't know how to solve it.
  • Date: 06 Dec 2002 21:01:19 +0100

> 3. Now there is also a SQLAllocEnv in the henv.c which is located at
> /IODBCHOME/iodbc/, also a SQLAllocConnect in the hdbc.c at the same
> directory.
> Strangely, the call to SQLAllocEnv will use the function of iODBC
> which is
> from henv.c and the call to SQLAllocConnect will use the function in odbc.c
> which is located at /FREETDSHOME/src/odbc.
> Of course there is problem, since iODBC knows nothing about the TDS,
> so it
> can't initialize the Environment correctly, so the SQLAllocConnect of odbc.c
> will crash.

???

connect should not rely to our ODBC driver (libtdsodbc.so) but only on iODBC.
Is iODBC that should load and call libtdsodbc.so.
I don't know SUN very well... with Linux I used "ldd connect" to verify this
issue.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page