-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ODBC compile docs possibly out of date? #43
Comments
Hi, I have to step out in 1 minute, so just a quick pointer: I moved the issue to the ODBC repository. Please consult the README and the GitHub Actions job in this repository. I'll get back with a more detailed answer later. |
Thank you, Gábor! I did look into the |
Building the latest version does not work currently: #41 |
Thanks @guenp, confirmed, it compiles now! Now let's see if I can actually fix the issue I meant to... :) |
What happens?
(Moved from duckdb/duckdb#15189)
Hi fellow Ducks,
first of all, thanks for the incredible job you are doing with DuckDB!
TLDR: I don't seem to be able to compile a functioning ODBC driver. Please advise.
I'd like to have a look into issue duckdb/duckdb#11380 , "ODBC Driver doesn't handle path to database correctly", because it's a blocking issue for us too.
I wanted to compile the ODBC drivers on Linux first, but turns out it's not as easy as I thought - I would need some pointers. Maybe the instructions are outdated, or maybe I'm just thick headed :)
(Also, the ODBC downloads are behind the "normal" DuckDB versions (1.1.0 vs 1.1.3), so maybe there is some problem momentarily?)
To Reproduce
First attempt
So, in the https://github.com/duckdb/duckdb-odbc repository, the
README.md
starts with:I assumed that the "main DuckDB repository" is the https://github.com/duckdb/duckdb one, but running the above command there does NOT produce a
libduckdb_odbc.so
file, which would be the ODBC driver.No
libduckdb_odbc.so
.Second attempt
Apparently the https://github.com/duckdb/duckdb-odbc repo is regularly updated ("vendored") from the https://github.com/duckdb/duckdb repo (although strangely, the mentioned hashes are not found in the original repo):
So I tried to run the following in the https://github.com/duckdb/duckdb-odbc repo next:
This does produce a
libduckdb_odbc.so
, but when I try to use it, I get the following error, indicating that somehow the compile is not "complete", it misses "core" features:Basically nothing works, since "core_functions" does not seem to be compiled in.
The suggested INSTALL/LOAD does not work either (but I'm pretty sure this should not be needed anyway, core should probably be built in...):
Please advise! :)
OS:
Linux, Ubuntu 24.04
DuckDB Version:
latest
DuckDB Client:
latest
Hardware:
Linux 5.15.0-126-generic duckdb/duckdb#136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Full Name:
K Kovacs
Affiliation:
Priority Queue Consulting
What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a nightly build
Did you include all relevant data sets for reproducing the issue?
Not applicable - the reproduction does not require a data set
Did you include all code required to reproduce the issue?
Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: