Re: glib install problems



M Hoskison wrote:
Now when I compile another package that has glib-2.4.0 as a dependency,
I get the following error during ./configure (in this case of
atk-1.6.0):


checking for pkg-config... /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.4.0, but GLIB (2.2.1)
*** 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
no
configure: error:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is
installed
*** but not in the same location as pkg-config add the location of the
file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

From what I can see, glib-2.4 hasn't installed itself in /usr/lib or
/usr/local/lib/. I'm at a loss as how to please pkg-config.

As if the whole gtk/glib nightmare weren't confusing enough, glib-2.2 and glib-2.4 etc install themselves in directories named glib-2.0. That could be your problem.

I'm going through the same upgrades (for gimp 2) that you are now. I apparently had glib-2.2.3 installed at /usr/lib/, and when I installed 2.4 it went to /usr/local/lib/. So I deleted these (glib-2.3) files:

/usr/lib/libglib-2.0.la
/usr/lib/libglib-2.0.so
/usr/lib/libglib-2.0.so.0
/usr/lib/libglib-2.0.so.0.200.3
/usr/lib/glib-2.0/

That made the error message go away. Of course, now none of my programs will start (rox (file manager), gftp, thunderbird, etc), and gtk+-2.4.0's make is dying with some obscure error, so my entire system is borked.

-Anthony
http://nodivisions.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]