Im sure veterans know the drill (as this question seems to have been asked a billion times), but I am getting this error while installing a piece of software ( ./configure )from source:
*** 'pkg-config --modversion glib-2.0' returned 2.48.1, but GLIB (2.48.0)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
and I have tried all of the fixes I found other threads to no avail... I have tried all the usual suggested PATH modifications, including but not limited to:
LD_LIBRARY_PATH=/usr/local/lib
PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/
PKG_CONFIG_PATH=/usr/lib/pkgconfig/
PATH=/usr/local/bin:$PATH
ACLOCAL_PATH=/usr/local/share/aclocal/
export CPATH=/usr/local/include
And every possible combination where there is an option. I assume there is some diagnostic I can run to figure out where the hell my (real?) glib is hiding and how to point the program in question (or pkg-config) to it, but I have no idea what that would be.
Some output from commands suggested in another question of similar nature:
find /usr/ -iname "*glib*.pc" yields
find: ‘/usr/share/doc/google-chrome-stable’: Permission denied
/usr/lib/pkgconfig/glib-2.0.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/spice-client-glib-2.0.pc
and dpkg -l libglib2.0-dev yields
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un libglib2.0-dev <none> <none> (no description available)
For reference purposes, I tried the solutions (using that word rather liberally from the second thread) from here and here:
How to solve old GLIB error while installing "pygobject" using jhbuild
and here:
and here and here:
http://www.linuxquestions.org/questions/linux-newbie-8/configure-requested-'glib-2-0-%3D-2-32-0'-but-version-of-glib-uninstalled-is-2-29-2-a-4175442396/
http://ubuntuforums.org/showthread.php?t=2002738
Ubuntu 16.04, for reference... I have been scrounging around and it looks like uninstalling glib and reinstalling is a no-no (system depends too heavily on it), but everything else is working fine for now... i am just struggling to install this new guy. Thanks!