Yes, you have said that in the previous mail. I wonder _why_ you need
to
set it and if our documentation is not accurate. Have you really set PKG_CONFIG? Does it mean that you do not have pkg-config available in your PATH?
my pkg-config is under /usr/lib/pkgconfig (gentoo). but libosmocore and others are installed under /usr/local/lib/pkgconfig.