Results of 1 - 4 of about 4 for cgo (0.001 sec.)
- Troubleshoot 12408
- Overview This page collects common issues encountered when using the DuckDB Go client, together with their workarounds. Because the client uses cgo to embed DuckDB, most build problems are cgo or linker problems. If you run into a problem t
...IO , ErrorTypeOutOfRange , and ErrorTypeInvalidInput . The Msg field contains the error message. undefined: conn and Other cgo Errors An undefined: conn error while building means the Go compiler has decided cgo is unavailable, so the DuckDB binding...s were not compiled. There are two common causes: Build tools are missing. cgo needs a C compiler and toolchain. On Debian or Ubuntu, install them with: bash sudo apt-get update && sudo apt-get install...build-essential Cross-compiling disables cgo. The Go compiler turns cgo off automatically when cross-compiling. Re-enable it and point at the right cross-compiler: bas... - https://man.mtool.work/duckdb/2.0/clients/go/troubleshoot.html
- Windows 8506
- On Windows, DuckDB requires the Microsoft Visual C++ Redistributable package both as a build-time and runtime dependency. Note that unlike the build process on UNIX-like systems, the Windows builds directly call CMake. Clang-cl To build Duc
...g the duckdb-go project . Build your project using the following instructions: bash set PATH=C:\duckdb-go\libs\;%PATH% set CGO_CFLAGS=-IC:\duckdb-go\libs\ set CGO_LDFLAGS=-LC:\duckdb-go\libs\ -lduckdb go build... - https://man.mtool.work/duckdb/2.0/dev/building/windows.html
- Go Client 8136
- The latest stable release of the DuckDB Go client bundles DuckDB 2.0.0. Its own version tag encodes that DuckDB version; see Versioning below. The DuckDB Go client, duckdb-go , is a SQL driver that conforms to Go's built-in database/sql int
...the pre-built DuckDB libraries from duckdb-go-bindings , run go mod vendor . DuckDB is written in C++, so the client uses cgo and requires a C compiler to build. By default it statically links a pre-built DuckDB library into the binary, so no separ...user-defined functions, and replacement scans. Profile and Monitor — query profiling and logging. Troubleshoot — linking, cgo, Windows setup, and other build and runtime issues. Clients Overview — the other client APIs DuckDB provides alongside Go.... - https://man.mtool.work/duckdb/2.0/clients/go/overview.html
- Connect 7877
- Overview The Go client works through the standard database/sql types: a *sql.DB is a pool of connections to a DuckDB database. This page covers opening in-memory and file-backed databases, passing DuckDB configuration options, running initi
...ed in the DSN or the connector callback. Concurrency — how DuckDB handles multiple connections and threads. Troubleshoot — cgo, linking, and other build problems encountered when opening a database.... - https://man.mtool.work/duckdb/2.0/clients/go/connecting.html
PREV
1
NEXT
DuckDB 2.0 Documentation / man.mtool.work