pkg-config problem while using go get in GoLang
Contents
While I am using ‘go get’ command to install the libraries of GoLang, I get this error:
# pkg-config –cflags libzmq libzmq libzmq libzmq exec: “pkg-config”: executable file not found in $PATH
We need to install pkg-config to fix this problem. On Ubuntu, just use command:
sudo apt-get install pkg-config
It’s because that package (sdl) uses pkg-config to get necessary cflags and ldfalgs for compiler and linker, respectively.
Author Watterry
LastMod 2014-03-27