[unixODBC-support] odbc.ini truncated - zero byte
Nick Gorham
nick at lurcher.org
Mon Aug 17 08:00:40 BST 2009
sunny_helo wrote:
> Hi, Sorry to reply to you late. I've find the problem. I compiled the
> unixodbc in 32bit mode and the lib file of DB2 is 64bit. So I use
> 32bit libdb2.so, it works.
> But when I compile the unixodbc in 64bit mode:
Ok, can't see why that would truncate the odbc.ini though...
There is the known problem with the 64 bit build of some db2 versions
where they got the size of SQLHANDLE wrong, there used to be info about
that on the IBM site. Also check how they expect sizeof(SQLLEN) to be set.
--
Nick
More information about the unixODBC-support
mailing list