[unixODBC-support] FreeTDS, unixODBC, GENTOO and DBD::ODBC

Michael Higgins linux at evolone.org
Tue Jun 2 19:38:02 BST 2009


On Tue, 2 Jun 2009 10:55:48 -0700
Michael Higgins <linux at evolone.org> wrote:

> On Tue, 02 Jun 2009 17:37:23 +0100
> Nick Gorham <nick at lurcher.org> wrote:
> 
> > As there is no DRIVER= entry, the driver manager must (and can only)
> > try loading the default first DSN in the odbc.ini and then passing
> > control to whatever driver that references. After that I don't know,
> > and can't say.
> 
> 
> odbcinst -q -d
> 
> [Default]
> [FreeTDS]
> 
> Adding DRIVER=FreeTDS, at least it dumps some data:
> 
[...]

> 
> What is happening now... the FreeTDS driver appears to be engaged, as
> I'm getting a dump. 
> 
> So, thanks for the hint... does this dump say anything to you? The
> only Google hits were like "SQLSetConnectOption() has been deprecated
> and replaced with SQLSetConnectAttr(). "
> 
> Is that a clue? :-)
> 

PERL_DL_NONLAZY=1 
^^^^^^^^^^^^^^^^^

I guess something to do with the perl module interaction with later versions of unixODBC..??

I'll be about testing against the last release of DBD::ODBC shortly. Maybe someone else caught this already and got a fix.

Thanks!

-- 
 |\  /|        |   |          ~ ~  
 | \/ |        |---|          `|` ?
 |    |ichael  |   |iggins    \^ /
 michael.higgins[at]evolone[dot]org


More information about the unixODBC-support mailing list