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

Unable to get the driver working on mac os

Open riteshghodrao opened this issue 4 years ago • 3 comments

I followed all the steps listed in the readme section for building from source using iODBC. I got "driver/libclickhouseodbc.dylib" and "driver/libclickhouseodbcw.dylib" files too in my build directory, I added the path to these files in the /Library/ODBC/odbcinst.ini and details in /Library/ODBC/odbc.ini file too.

Yet, my non-unit tests are failing when I run "cmake --build . --config RelWithDebInfo --target test"

What I may be missing here? Would appreciate help in resolving this.

riteshghodrao avatar Jan 27 '21 16:01 riteshghodrao

You need the preconfigured DSN(s) that point to a running ClickHouse server. Also, check TEST_DSN_LIST cmake param.

traceon avatar Jan 27 '21 16:01 traceon

@riteshghodrao Did this solve your problem? I'm really struggling to install the ODBC driver on my mac and would really appreciate some help. Please let me know.

Thanks

nlc10 avatar May 15 '21 10:05 nlc10

hey, I was able to make it work but it works with certain limited functionalities. I don't remember finally what had worked for me, but I can help you out by sharing any existing configurations you may need.

riteshghodrao avatar May 15 '21 11:05 riteshghodrao