Recommended update for unixODBC

Announcement ID: SUSE-RU-2024:2960-1
Rating: moderate
References:
Affected Products:
  • SUSE Linux Enterprise High Performance Computing 12 SP5
  • SUSE Linux Enterprise Server 12 SP5
  • SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • SUSE Linux Enterprise Software Development Kit 12 SP5

An update that contains one feature and has two fixes can now be installed.

Description:

This update for unixODBC fixes the following issues:

  • Update requires and baselibs for new libodbc2.

  • Employ shared library packaging guideline: new subpacakge libodbc2. mariadb's ha_connect.so wants this library, but a unixODBC's Recommends line would awkwardly pull in psqlODBC by default.

  • Update to 2.3.9:

  • Remove "#define UNIXODBC_SOURCE" from unixodbc_conf.h

  • Update to 2.3.8:

  • Add configure support for editline
  • SQLDriversW was ignoring user config
  • SQLDataSources Fix termination character
  • Fix for pooling seg fault
  • Make calling SQLSetStmtAttrW call the W function in the driver is its there
  • Try and fix race condition clearing system odbc.ini file
  • Remove trailing space from isql/iusql SQL
  • When setting connection attributes set before connect also check if the W entry poins can be used
  • Try calling the W error functions first if available in the driver
  • Add iconvperdriver configure option to allow calling unicode_setup in SQLAllocHandle
  • iconv handles was being lost when reusing pooled connection
  • Catch null copy in iniPropertyInsert
  • Fix a few leaks
  • Remove unixODBC-2.3.7-warning-cleanup.patch: upstreamed

  • Update to 2.3.7:

  • Fix for pkg-config file update on no linux platforms
  • Add W entry for GUI work
  • Various fixes for SQLBrowseConnect/W, SQLGetConnectAttr/W,and SQLSetConnectAttr/W
  • Fix buffer overflows in SQLConnect/W and refine behaviour of SQLGet/WritePrivateProfileString
  • SQLBrowseConnect/W allow disconnecting a started browse session after error
  • Add --with-stats-ftok-name configure option to allow the selection of a file name used to generate the IPC id when collecting stats. Default is the system odbc.ini file
  • Improve diag record handling with the behavior of Windows DM and export SQLCancelHandle
  • bug fix when SQLGetPrivateProfileString() is called to get a list of sections or a list of keys
  • Connection pooling: Fix liveness check for Unicode drivers
  • Add unixODBC-2.3.7-warning-cleanup.patch: 2.3.7 a 64bit protability error See https://github.com/lurcher/unixODBC/issues/18

  • bsc#1062860: Recommend psqlODBC to stay feature complete

  • bsc#1062860: Don't install postgres example driver psqlODBC package should be used instead of the example driver provided by unixODBC (libodbcpsql.*). It is unmaintained.

  • Enabled --enable-fastvalidate option in configure (bsc#1044970)

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • SUSE Linux Enterprise Software Development Kit 12 SP5
    zypper in -t patch SUSE-SLE-SDK-12-SP5-2024-2960=1
  • SUSE Linux Enterprise High Performance Computing 12 SP5
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-2960=1
  • SUSE Linux Enterprise Server 12 SP5
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-2960=1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP5
    zypper in -t patch SUSE-SLE-SERVER-12-SP5-2024-2960=1

Package List:

  • SUSE Linux Enterprise Software Development Kit 12 SP5 (aarch64 ppc64le s390x x86_64)
    • unixODBC-debuginfo-2.3.9-7.13.1
    • unixODBC-debugsource-2.3.9-7.13.1
    • unixODBC-devel-2.3.9-7.13.1
  • SUSE Linux Enterprise High Performance Computing 12 SP5 (aarch64 x86_64)
    • libodbc2-2.3.9-7.13.1
    • unixODBC-2.3.9-7.13.1
    • unixODBC-debugsource-2.3.9-7.13.1
    • unixODBC-debuginfo-2.3.9-7.13.1
    • libodbc2-debuginfo-2.3.9-7.13.1
  • SUSE Linux Enterprise High Performance Computing 12 SP5 (x86_64)
    • libodbc2-32bit-2.3.9-7.13.1
    • unixODBC-32bit-2.3.9-7.13.1
    • unixODBC-debuginfo-32bit-2.3.9-7.13.1
    • libodbc2-debuginfo-32bit-2.3.9-7.13.1
  • SUSE Linux Enterprise Server 12 SP5 (aarch64 ppc64le s390x x86_64)
    • libodbc2-2.3.9-7.13.1
    • unixODBC-2.3.9-7.13.1
    • unixODBC-debugsource-2.3.9-7.13.1
    • unixODBC-debuginfo-2.3.9-7.13.1
    • libodbc2-debuginfo-2.3.9-7.13.1
  • SUSE Linux Enterprise Server 12 SP5 (s390x x86_64)
    • libodbc2-32bit-2.3.9-7.13.1
    • unixODBC-32bit-2.3.9-7.13.1
    • unixODBC-debuginfo-32bit-2.3.9-7.13.1
    • libodbc2-debuginfo-32bit-2.3.9-7.13.1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP5 (ppc64le x86_64)
    • libodbc2-2.3.9-7.13.1
    • unixODBC-2.3.9-7.13.1
    • unixODBC-debugsource-2.3.9-7.13.1
    • unixODBC-debuginfo-2.3.9-7.13.1
    • libodbc2-debuginfo-2.3.9-7.13.1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP5 (x86_64)
    • libodbc2-32bit-2.3.9-7.13.1
    • unixODBC-32bit-2.3.9-7.13.1
    • unixODBC-debuginfo-32bit-2.3.9-7.13.1
    • libodbc2-debuginfo-32bit-2.3.9-7.13.1

References: