Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS build fails; pkg-config is not available #33

Closed
dinamic opened this issue Feb 21, 2024 · 0 comments
Closed

macOS build fails; pkg-config is not available #33

dinamic opened this issue Feb 21, 2024 · 0 comments

Comments

@dinamic
Copy link

dinamic commented Feb 21, 2024

I've got webp installed via homebrew:

Warning: webp 1.3.2 is already installed and up-to-date.
To reinstall 1.3.2, run:
  brew reinstall webp

Trying to compile the code gives this error. It seems like it's trying to find the location for pkg-config!?

handler/auth.go:24:2: could not import github.com/kolesa-team/go-webp/encoder (-: exec: "pkg-config": executable file not found in $PATH) (typecheck)
	"github.com/kolesa-team/go-webp/encoder"
	^

Maybe the documentation should be updated to reflect that macOS users need to also install pkg-config.

brew install pkg-config
@dinamic dinamic changed the title macOS build fails; webp installed via homebrew macOS build fails; pkg-config is not available Feb 21, 2024
@lEx0 lEx0 closed this as completed Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants