./configure error : 2 versions of glib found (pygtk install)
First, when I tried to install pygtk 2.2.0, it told me that it was needed glib-2.2 or greater.
I installed glib-2.4, and tried again to install pygtk.
Then, it told me something like pkgconfig had returned glib-2.4, but glib-2.0.6 was found. It suggested to remove 2.0.6 (I don't know how to do that), or update /etc/ld.so.conf, or check for PKG_CONFIG_PATH
PKG_CONFIG_PATH was pointing on /usr/local/lib/pkgconfig, and there was four files of glib stuff in this directory. But there was also older glib stuff in /usr/lib/pkgconfig, with a lot of other things.
So, I have tried :
# export PKG_CONFIG_PATH=/usr/lib/pkgconfig , and installed again glib-2.4, so that librairies come in the good directory.
But the four glib files went again in /usr/local/lib/pkgconfig, and, in fact, during the make install of glib, it was said :
. . .
Libraries have been installed in:
. . .
And pygtk installation does not find any up-to-date glib, now !
I'm lost !
Last edited by Kanaflloric; 08-13-2004 at 10:07 AM.