我明明已经安装了glib-2.16.0,还做了以下四步,为什么还 有错误呢?checking for pkg-config... /usr/bin/pkg-config
checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.14.0) were not met:
No package 'glib-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GLIB_CFLAGS
and GLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
请问该怎么解决?LD_LIBRARY_PATH=/usr/src/glib/lib:$LD_LIBRARY_PATH
PKG_CONFIG_PATH=/usr/src/glib/lib/pkgconfig:$PKG_CONFIG_PATH
GLIB_CFLAGS=`pkg-config --cflags glib-2.0`
GLIB_LIBS=`pkg-config --libs glib-2.0`
万分感谢。