[gdal-dev] ADBC driver and DuckDB on Windows
Seth G
sethg at geographika.co.uk
Sat Jul 12 07:00:08 PDT 2025
Thanks Even and Mike.
Using GDAL master works (I presume due to this PR - https://github.com/OSGeo/gdal/pull/12635).
Working example:
```
conda create --yes --name gdal-master
conda activate gdal-master
conda install -c gdal-master -c conda-forge gdal-master::gdal
$env:Path = "D:\Tools\libduckdb-windows-amd64;" + $env:Path
ogrinfo D:\Data\GDAL\test.db
```
I also tried `conda install conda-forge::libadbc-driver-manager`, but I couldn't find a duckdb.dll after it was installed (it does install adbc_driver_manager.dll).
A tutorial/examples to follow!
Seth
--
web:https://geographika.net & https://mapserverstudio.net
mastodon: @geographika at mastodon.social
On Sat, Jul 12, 2025, at 1:50 PM, Even Rouault wrote:
> Mike,
>
> I don't remember the details but there's an issue (or at least used to
> be last time I tried) with the conda package libadbc-driver-manager on
> Windows.
>
> Le 12/07/2025 à 13:46, Michael Smith via gdal-dev a écrit :
>> Seth,
>>
>> Have you tried adding https://anaconda.org/conda-forge/libadbc-driver-manager to your conda build and then adding duckdb.dll?
>>
>> Mike
>>
>>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
More information about the gdal-dev
mailing list