[unixODBC-support] RE : libodbcinst.so.2

Ludo Brands ludo.brands at free.fr
Thu Sep 23 17:50:00 BST 2010


Thanks for the prompt reply.

The 64 bit SQLLEN change was also my first thought but at first sight no
odbcinst interface uses SQLLEN parameters or return values. 

I'll ask RH and post here when I get a reply.


-----Message d'origine-----
De : unixodbc-support-bounces at mailman.unixodbc.org
[mailto:unixodbc-support-bounces at mailman.unixodbc.org] De la part de Nick
Envoyé : jeudi 23 septembre 2010 18:34
À : Support for the unixODBC project
Objet : Re: [unixODBC-support] libodbcinst.so.2

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: 
> SQLWritePrivateProfileString,SQLGetPrivateProfileString,SQLConfigDrive
> r,SQLInstallerError,
> SQLPostInstallerError,SQLInstallDriverEx,SQLGetConfigMode,SQLSetConfig
> Mode.
> 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.

unixODBC-support mailing list unixODBC-support at mailman.unixodbc.org

More information about the unixODBC-support mailing list