I'm trying to fix a path-related problem with glib, but as part of this another problem has appeared:
brew install pkg-config Warning: pkg-config 0.29.2 is already installed and up-to-date
Ok, good, so:
pkg-config --cflags glib-2.0 -bash: /usr/local/bin/pkg-config: Permission denied
sudo pkg-config --cflags glib-2.0 sudo: pkg-config: command not found
Does anyone know what's going on here?
Update: one of the commands fixed things:
pkg-config --cflags glib-2.0 -I/usr/local/Cellar/glib/2.62.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.62.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.43/include