I'm running Ubuntu 18.04.4 LTS
When running
pkg-config --cflags gtk+-3.0
I get the following error -
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-3.0' found
I've tried installing missing packages (sudo apt-get install build-essential libgtk-3-dev
), as per pkg-config not finding gtk+-3.0, however when running
dpkg -l libgtk* | grep -e '^i' | grep -e 'libgtk-*[0-9]'
I still get zsh: no matches found: libgtk*
with the same error still happening.
I'm unable to download certain go packages due to this issue - does anyone have any ideas?
libgtk*
or usesetopt nonomatch
– steeldriver Jul 15 '21 at 21:57zsh: no matches found: libgtk*, zsh: no matches found: libgtk-*[0-9]
– Tom Yeoman Jul 16 '21 at 07:32dpkg -S gtk+-3.0.pc
andpkg-config --cflags gtk+-3.0
. Also I have a question - why do you run 18.04.4 instead of 18.04.5? You are probably missing major system upgrades by doing so. – N0rbert Jul 16 '21 at 07:50'libgtk-*[0-9]'
instead of quoted'libgtk*'
– steeldriver Jul 16 '21 at 13:18libgtk-3-dev:amd64: /usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-3.0.p
returned – Tom Yeoman Jul 16 '21 at 13:54Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing
gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-3.0' founderror message when running
pkg-config --cflags gtk+-3.0` – Tom Yeoman Jul 16 '21 at 13:55pkg-config --list-all --debug
may help. – N0rbert Jul 16 '21 at 14:05