I am trying to install pygobject using jhbuild. And I am getting this error:
configure: error: Package requirements (glib-2.0 >= 2.48.0) were not met:
Requested 'glib-2.0 >= 2.48.0' but version of GLib is 2.38.2
So, I have installed glib-2.0 from https://launchpad.net/ubuntu/%2Bsource/glib2.0 using
./configure
make
make install
After installing this library I have tried again and getting same error.
So I check this How to solve old GLIB error question. And tried setting two variables like this
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
And than tried again but no luck :(
I am using Ubuntu 14.04 LTS.
2.38.2according to your error message. So I would update your libraries:sudo apt-get updatethat is the safest way. If the version is still<2.48.0then go for manual installation, but this can be tricky, as you see :-. Now, for Ubunut 16.04. the currentlibglib2.0-0is version2.48.2, maybe a reason for migrating into the higher version. – loved.by.Jesus May 12 '20 at 07:07devpackage of the library (see linkpost here), so that python installs and works properly. Try, thus, installing alsolibglib2.0-dev, it might work. – loved.by.Jesus May 12 '20 at 07:11