influxdata/flux

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

vinland-avalon opened this issue · 2 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.