I’m trying to build a DLL of https://github.com/littledivy/duckdb/raw/master/src/sql.c on Windows:
clang src/sql.c -O3 -shared -o bin/libduckdb.dll -lduckdb -L"C:projectsdeno-duckdb-masterbin" -I"C:projectsdeno-duckdb-masterinclude"
When trying to load the DLL with Deno.dlopen
, it fails to find any of the duckffi_*
symbols.
Opening the DLL with Dependencies shows only the symbols from the duckdb.dll, but none from sql.c
2