[Bug 1319701] Re: ODBC apps different SQLLEN sizes linked against same DM

2015-05-20 Thread Robie Basak
Thank you for taking the time to report this bug and helping to make Ubuntu better. If someone can prepare a backport, please follow the steps at https://wiki.ubuntu.com/StableReleaseUpdates#Procedure to have Trusty updated. All the steps documented there need to be followed. In particular, I'm

[Bug 1319701] Re: ODBC apps different SQLLEN sizes linked against same DM

2015-05-20 Thread Robie Basak
Thanks Nick, your input is helpful and appreciated. Thanks also for bumping to the sover to 2 to reflect the change. Distribution packaging understands this and should be able to deal with it well. I see that the PHP odbc.so and pdo_odbc.so as supplied in Trusty link to libodbc.so.1 only, and

[Bug 1319701] Re: ODBC apps different SQLLEN sizes linked against same DM

2015-05-20 Thread Robie Basak
From the Debian changelog of the bump to 2.3: - Since the library ABI has not changed in Debian (ever), keep the package names the same and provide backwards-compatible symlinks to avoid an unnecessary library transition; and update the symbols/shlibs to make it clear the

[Bug 1319701] Re: ODBC apps different SQLLEN sizes linked against same DM

2015-05-20 Thread Nick Gorham
Can I add a bit of history to this (with my unixODBC hat on). The default SQLLEN for 64 bit platforms changed with the 2.3.0 release of unixODBC, (20th April 2010) from 32 bit to 64 bit. The version number also changed from 1 to 2 to reflect this API change. A lot of distributions were slow to

[Bug 1319701] Re: ODBC apps different SQLLEN sizes linked against same DM

2015-05-20 Thread Robie Basak
15:03 slangasek rbasak: Debian and Ubuntu were always using a 64-bit SQLLEN on 64-bit archs despite this not being the upstream ABI, because the upstream ABI was broken and there was no reason to keep compatibility with it I'm not sure how this fits with PDO ODBC has been built with 32-bit size

[Bug 1319701] Re: ODBC apps different SQLLEN sizes linked against same DM

2015-05-20 Thread Steve Langasek
The Debian and Ubuntu unixodbc packages have used a 64-bit SQLLEN from their inception on 64-bit architectures. This was a deviation from the upstream ABI of course, but the upstream ABI was broken on 64-bit systems (as upstream knows, which is why they changed it). On 32-bit architectures,

[Bug 1319701] Re: ODBC apps different SQLLEN sizes linked against same DM

2015-05-19 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: php5 (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1319701

[Bug 1319701] Re: ODBC apps different SQLLEN sizes linked against same DM

2015-05-19 Thread Chris Allan
In addition to this, https://bugs.php.net/bug.php?id=50444 (fixed in 5.5.14) can also cause issues with PHP ODBC x64 and unixODBC 2.2.14 -- may need to be backported? ** Bug watch added: bugs.php.net/ #50444 http://bugs.php.net/bug.php?id=50444 -- You received this bug notification because