A complete ODBC driver manager for Linux
Upstream commit 5267d28 (between v2.3.9 and v2.3.10) added a new
'unixodbc.h' header, splitting out a subset of preprocessor constants
from 'unixodbc_conf.h' that are needed by the public 'sqltypes.h'
header. This new file contains 'SIZEOF_LONG_INT' which is 4 on i686
and 8 on x86_64.
The spec applies '%multilib_fix_c_header' to 'unixodbc_conf.h' (which
still has its own arch-specific defines like 'SIZEOF_LONG', 'PLATFORM64'
and lib paths), but the new 'unixodbc.h' was never added. Installing
both x86_64 and i686 'unixODBC-devel' simultaneously fails with an RPM
file-conflict error because both arches own '/usr/include/unixodbc.h'
with different content.
Resolves: RHEL-178477
Cherry-pick of Fedora commit:
|
||
|---|---|---|
| .fmf | ||
| .gitignore | ||
| ci.fmf | ||
| gating.yaml | ||
| keep-typedefs.patch | ||
| ODBCConfig.desktop | ||
| odbcinst.ini | ||
| plans.fmf | ||
| README.dist | ||
| so-version-bump.patch | ||
| sources | ||
| unixODBC-c89.patch | ||
| unixODBC.spec | ||
About unixODBC in this distribution ----------------------------------- In addition to the unixODBC package itself, you will want to install some or all of these related packages: mysql-connector-odbc MySQL driver, needed to connect to MySQL databases postgresql-odbc PostgreSQL driver, needed to connect to PostgreSQL unixODBC-gui-qt Optional configuration management and test programs The recommended driver definition for MySQL 8 is: [MySQL] Description = ODBC for MySQL 8 Driver = /usr/lib/libmyodbc8.so Driver64 = /usr/lib64/libmyodbc8.so FileUsage = 1 You can adjust the name (in square brackets) and the description, but the other items should usually be used verbatim. The recommended driver definition for PostgreSQL is: [PostgreSQL] Description = ODBC for PostgreSQL Driver = /usr/lib/psqlodbcw.so Setup = /usr/lib/libodbcpsqlS.so Driver64 = /usr/lib64/psqlodbcw.so Setup64 = /usr/lib64/libodbcpsqlS.so FileUsage = 1