[unixODBC-support] core dump in libodbccr.so on HP iA64

Cherie Soleil sunf2002 at gmail.com
Tue Nov 13 11:37:58 GMT 2007

Thank you Nick.
Because we need to use 64bit DB2 driver and datadirect driver and
these 2 drivers expect 64 bit SQLLEN and SQLULEN, so we build our
applications using 64bit.

Obviously the unixodbc libodbc.so we used are build with 64bit SQLLEN

Can I know when the 2.2.13 will be released?
And would you please check that problem for me: why it will call
libodbccr.so when I set SQL_CUR_USE_DRIVER. We need to know this
because that decides if we must ship libodbccr.so in our product with
libodbc.so at the same time.

Thank you.

On Nov 13, 2007 7:35 PM, Nick Gorham <nick.gorham at easysoft.com> wrote:
> Cherie Soleil wrote:
> >Yes,I build it by myself. Is there anything I need to pay attention to
> >when I build my own 64 bit unixodbc ?
> >
> >
> It all depends on if the driver you are using expects SQLLEN to be a 32
> or 64 bit quantity.
> Originally Microsoft used 32 bits even for 64 bit versions. So the
> unixODBC default was to do the same. However its not changed to 64, so
> in 2.2.13 I will change the default (I expect a lot of headaches when
> thats released). So if you built using the defaults in 2.2.12 it will be
> 32 bit, so the conflict I have seen in the cursor lib shouldn't be a
> problem. But it may be that the driver (or maybe one of them) is
> expecting 64 bit.
> --
> Nick Gorham
> Easysoft Limited
> http://www.easysoft.com, http://www.unixODBC.org
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support

More information about the unixODBC-support mailing list