This was fixed in Debian in 2.3.12-2. Once it is merged (or sync'd) into
Ubuntu, this should be closed for the devel tracker.

This is the changelog with the fixes:

 unixodbc (2.3.12-2) unstable; urgency=medium
 .
   * debian/control:
     + libodbc2 now Recommends libodbccr2.
     + libodbccr2 no longer Depends on libodbc2.
     + libodbccr2 Enhances libodbc2.
     + Raise Standards-Version to 4.7.0 from 4.6.2 (no changes needed).
   * debian/copyright: Update for 2024.
   * debian/patches: Add 0001-configure-ac-cursor-lib.patch to enable a
     versioned cursor library (Closes: #1089695, LP: #2085815).
   * debian/rules: Pass --enable-cursor-ver to configure.

Hence, the fix suggestion (1) from my comment above was fixed. For
completeness, we should make sure no reverse dependencies on the -dev
package will be affected (i.e., no packages were pulling the -dev
package as a runtime dependency). If any packages are affected, they
should be fixed (by depending on the versioned lib).

The fix for (2) was applied by reverting the dependency direction (as
per one of our suggestions).

- When using the cursor, libodbc2 will now open the lib provided by libodbccr2 
instead of the one in 
- Installing libodbc2 will now also pull in libodbccr2 (unless users do not 
install recommended packages)

Finally, we should understand if such changes would be suitable for SRUs.
Note that a straightforward workaround is available (installing unixodbc-dev).

** Tags added: server-triage-discuss

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2085815

Title:
  php8.1-odbc missing dependency to unixodbc-dev

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unixodbc/+bug/2085815/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to