I'm build an opensourced project configured by GNU autoconf. It depends on the glib2.36 and it reports the glib library's version is lower than that. But I don't want to replace my system's glib in the path of "/usr/lib". My idea is to download the glib2.36 and build from scratch and install it to "$HOME/local". Then I want to configure the project using --prefix=$HOME/local.
$cd ~/tmp/glib-2.36.0$
$./configure --prefix=$HOME/local
$make
$make install
$cd ~/tmp/project
$./configure --prefix=$HOME/local
but it still reports "checking for GLIB - version >= 2.36.0... no" How can I resolve it?