Commit 3c6b046
authored
docs(readme): call out C toolchain prerequisite for source builds (#92)
Without gcc/clang on PATH, CGO is silently disabled and `go build` /
`go install` fails at the call site with `undefined: sqlitevec.LoadInto`
rather than a clear toolchain error, because `internal/sqlitevec/load.go`
is gated by `//go:build cgo`. The README's "Build from source" section
already assumed CGO_ENABLED=1 in the command but never said how to make
that actually work — leaving the next from-source builder to chase a
misleading "undefined symbol" error.
Add a short prerequisites paragraph above the build commands, pointing
at the existing comprehensive list in docs/getting-started.md.1 parent fe0ddbd commit 3c6b046
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
180 | 188 | | |
181 | 189 | | |
182 | 190 | | |
| |||
0 commit comments