Bug 2453060

Summary: Standardize the installation directory for unixODBC connectors
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: unixODBCAssignee: Michal Schorm <mschorm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: db-sig, hhorak, jstanek, mschorm, praiskup
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: unixODBC-2.3.14-6.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-05-22 10:26:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Schorm 2026-03-30 16:27:37 UTC
ATM, odbc connectors are installed directly into %{_libdir}.
However they are, in fact, unversioned plugins that should reside in a %{_libdir} sub-directory.

I did a proof-of-concept of this move years ago with the 'mysql-connector-odbc' package.

Now it's time to move all of the remaining packages.

This is a followup to the ancient https://bugzilla.redhat.com/show_bug.cgi?id=1165561

Comment 2 Michal Schorm 2026-04-15 19:07:22 UTC
After careful consideration, I decided to use the "%{_libdir}/odbc" path instead of the "%{_libdir}unixODBC" path, so it is ODBC implementation independent.

Also there is an existing precedent in the Debian distribution and the "mdbtools-odbc" package.

Comment 3 Michal Schorm 2026-04-15 19:16:03 UTC
I applied changes to the packages:
 - unixODBC
 - mariadb-connector-odbc
 - mysql-connector-odbc
 - postgresql-odbc

I submitted PRs for the:
 - sqliteodbc https://src.fedoraproject.org/rpms/sqliteodbc/pull-request/2
 - freetds https://src.fedoraproject.org/rpms/freetds/pull-request/3

Comment 4 Fedora Update System 2026-05-14 07:50:51 UTC
FEDORA-2026-80d08b3370 (sqliteodbc-0.99991-9.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-80d08b3370

Comment 5 Fedora Update System 2026-05-14 07:52:04 UTC
FEDORA-2026-401dedba33 (freetds-1.4.23-5.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-401dedba33

Comment 6 Fedora Update System 2026-05-14 07:53:14 UTC
FEDORA-2026-80d08b3370 (sqliteodbc-0.99991-9.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-05-14 07:56:15 UTC
FEDORA-2026-401dedba33 (freetds-1.4.23-5.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Michal Schorm 2026-05-14 08:31:13 UTC
Packages built,
moving back ON_QA for testing

Comment 9 Fedora Update System 2026-05-22 10:24:01 UTC
FEDORA-2026-3a2a1e2500 (unixODBC-2.3.14-6.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-3a2a1e2500

Comment 10 Fedora Update System 2026-05-22 10:26:24 UTC
FEDORA-2026-3a2a1e2500 (unixODBC-2.3.14-6.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.