Repository navigation
Replies: 1 comment
|
The Python package always compiles the vendored engine and links it statically, in 2.0.0 and on main, and there is no option to link a shared libduckdb instead. We also export the engine's C++ symbols on purpose, for usable stack traces. It is likely that we will move the duckdb python package to the new C API v2 in the not too far off future (over the course of the v2 line, I suspect), when that stabilizes. We might support dynamic linking then as well, but we have to figure out the trade offs there first. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In QGIS we are shipping duckdb via gdal drivers and also as part of the python duckdb package.
When loading data via gdal functionality and when the geoparquet downloader plugin is active (which makes use of the duckdb python package) we get a crash.
The extract of the stack trace below shows that the python library is involved, even though it should not be involved in here.
My best guess is, that this is because of an ODR violation because duckdb is statically linked into the python package and also loaded via gdal.
Is it possible to build the python package linked against an already built (shared) duckdb library?
All reactions