How to solve old GLIB error
I have the same problem as you.
I set PKG_CONFIG_PATH
and LD_LIBRARY_PATH
as
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
LD_LIBRARY_PATH=/usr/local/lib
see https://stackoverflow.com/questions/11228173/how-to-find-where-older-version-of-glib-has-been-installed
But it didn't work. Then I found someone solve it as
echo $LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
see http://www.linuxquestions.org/questions/linux-software-2/how-to-set-ld_library_path-pkg_config_path-and-glib_config-937732/
And it did work!