influxdata / flux

Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.

Home Page:https://influxdata.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package flux was not found in the pkg-config search path.

vinland-avalon opened this issue · comments

env:
Linux 5.15.0-69-generic x86_64

go version:
go version go1.20.3 linux/amd64

discription:
When building flux, error appears

go build github.com/influxdata/flux/libflux/go/libflux:
# pkg-config --cflags  -- flux
Package flux was not found in the pkg-config search path.
Perhaps you should add the directory containing `flux.pc'
to the PKG_CONFIG_PATH environment variable
No package 'flux' found
pkg-config: exit status 1

@vinland-avalon here's a full example showing how to build and embed libflux: https://github.com/metrico/fluXpipe

This issue has had no recent activity and will be closed soon.