安装rtplib时出现错误: Is glib-config in path?

安装时报错如下:
checking for ranlib... (cached) ranlib
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: Cannot find glib: Is glib-config in path?

我开始以为是glib的原因,查了glib版本,为glib-1.2.10-15
那应该是glib-config的原因了,可是我不知道 该怎么办,装个glib-config吗?应该装在哪儿?