h2non / bimg

Go package for fast high-level image processing powered by libvips C library
https://pkg.go.dev/github.com/h2non/bimg?tab=doc
MIT License
2.73k stars 340 forks source link

build fails when i add the package to go.mod #446

Open conor-tread opened 1 year ago

conor-tread commented 1 year ago

When i try to build after adding the package to the go.mod the build fails. All I get is a printout of all the packages in the project and the only odd thing I see is:

pkg-config --cflags -- vips vips vips vips

pkg-config: exec: "pkg-config": executable file not found in $PATH

Has anyone seen this before?

xkamail commented 1 year ago

brew install peg-config

dev-strender commented 1 year ago

Try this!

macOS

brew install pkg-config

Linux Debian

apt-get install pkg-config

Linux Alpine

apk add pkgconfig