clickhouse-odbc icon indicating copy to clipboard operation
clickhouse-odbc copied to clipboard

Please provide builds for the usual Linux distributions (Ubuntu, EL7, EL8, Debian)

Open aadant opened this issue 2 years ago • 3 comments

This would solve the libicu issues that have been reported in a couple of places :

https://github.com/ClickHouse/clickhouse-odbc/issues/384 https://github.com/ClickHouse/clickhouse-odbc/issues/358

aadant avatar May 15 '23 18:05 aadant

there are multiple opened issues here with the same root cause " the pre-built Linux package is built on CentOS 7, and it depends on the default system version of ICU, which is ICU 50. " ICU 50 doesnt come in all Linux distributions and cause a pain for users to install clickhouse-odbc package. It makes sense to change build process to fix it. Possible solutions:

  1. Make builds for every major Linux distributions (Ubuntu 18,20,22..,EL7, EL8, Debian)
  2. Build it static

dima-altinity avatar May 15 '23 18:05 dima-altinity

@dima-altinity

Dependency on packaged libraries is nonsense; it should build all dependencies from the sources and link them statically. See how ClickHouse itself does it. The build with OS dependencies should not exist at all.

alexey-milovidov avatar Jun 08 '23 07:06 alexey-milovidov

Fell down this rabbit hole for a few hours as well, please fix this issue, it was kinda of hard to figure out

aholster avatar Sep 21 '23 14:09 aholster