if you want check you`re complier version protobuf
protoc --version
the next one
$ wget https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
$ tar xvfz pkg-config-0.29.2.tar.gz
$ cd pkg-config-0.29.2
$ /configure && make && make install
$ ./configure --prefix=/usr/local/pkg_config/0_29_2 --with-internal-glib
$ make
$ make all-recursive
$ make install Making install in glib
$ ./configure