Bug 2453060
| Summary: | Standardize the installation directory for unixODBC connectors | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michal Schorm <mschorm> |
| Component: | unixODBC | Assignee: | Michal Schorm <mschorm> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | 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: | |||
https://src.fedoraproject.org/rpms/unixODBC/pull-request/16 https://src.fedoraproject.org/rpms/postgresql-odbc/pull-request/6 https://src.fedoraproject.org/rpms/mariadb-connector-odbc/pull-request/10 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.
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 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 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 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. 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. Packages built, moving back ON_QA for testing 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 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. |
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