Could not find ODBCINSTGetProperties() from
belonesox opened this issue · comments
I has compile driver from commit 860b06f
/etc/odbcinst.ini
[ClickhouseU]
Description = ODBC for ClickhouseU
Driver = /usr/local/lib64/libclickhouseodbcw.so
Setup = /usr/local/lib64/libclickhouseodbcw.so
UsageCount = 1
I was using unixODBC project to test ODBC connection to CH.
( «unixODBC-gui-qt» fedora package, «ODBCCreateDataSourceQ5» application).
I got
«Could not find ODBCINSTGetProperties()»
«Could not construct a property list for (ClickhouseU). Contact your; SysAdmin, driver vendor, or folks at the unixODBC project for support.»
I am doing something wrong?
Should it work?
This looks like some extension method required by that particular tool only. As of now, clickhouse-odbc doesn't export that method (ODBCINSTGetProperties
); hence, this GUI-tool is not supported.
However, you can take a look at how to properly set up all configuration files in CI/CD workflows:
clickhouse-odbc/.github/workflows/Linux.yml
Lines 156 to 210 in a623c89
Alternatively, you can submit a PR that implements that particular method.