[unixODBC-support] libodbcinst.so.2

Nick Gorham nick at lurcher.org
Thu Sep 23 17:34:17 BST 2010

Ludo Brands wrote:
> Hi,
> unixODBC-2.2.14 in Red Hat and Fedora is shipping libodbcinst.so.2. 
> According to https://bugzilla.redhat.com/show_bug.cgi?id=498311 the 
> ABI has changed. Where can I find these changes? The unixODBC release 
> notes for 2.2.13 and 2.2.14 are not specific on this issue. Also, 
> Mandriva is shipping libunixODBC1-2.2.14 with libodbcinst.so.1. Same 
> for Solaris CSWunixodbc 2.2.14.  So it seems more a Red Hat than a 
> unixODBC issue.  
> We develop an ODBC driver and use odbcinst for installation and 
> configuration purposes, obviously. The functions we use are: 
> SQLInstallDriver,SQLConfigDataSource,SQLWriteDSNToIni,SQLRemoveDSNFromIni,SQLValidDSN, 
> SQLWritePrivateProfileString,SQLGetPrivateProfileString,SQLConfigDriver,SQLInstallerError, 
> SQLPostInstallerError,SQLInstallDriverEx,SQLGetConfigMode,SQLSetConfigMode. 
> If drivers and their installer are not concerned by the changes 
> from .1 to .2 we could link dynamically to libodbcinst.so... Some 
> Oracle ODBC driver users with a similar problem have had succes 
> creating a symbolic link libodbcinst.so.1 to libodbcinst.so.2 but that 
> is clearly not a solution for us.
> thanks, Ludo

You will have to ask RH exactly what has changed in the lib they build 
and distribute, but I suspect the core of the difference is the default 
size of SQLLEN on 64 bit platforms is now 64 bit, previously it was 32 bit.


More information about the unixODBC-support mailing list