Click to See Complete Forum and Search --> : Upgrading glib


20_MuleTeam_Borax
09-09-2001, 02:44 PM
I'm trying install sylpheed, an email program. That required me to upgrade from glib 1.2.5 to glib 1.2.6 or greater. 1.2.5 was installed as an rpm by default on my red hat 6.1 system, so I upgraded it.

After a little messing around, I got ldconfig to recognize the new version of glib. When I run the configure script for sylpheed, it says . . .

checking for GLIB - version >= 1.2.6...
*** 'glib-config --version' returned 1.2.5, but GLIB (1.2.8)
*** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file config.cache
*** before re-running configure

What should I do?

klamath
09-09-2001, 03:28 PM
Did you also update 'libglib-devel' (or whatever RH calls it)? What does `glib-config --version` give you?

20_MuleTeam_Borax
09-09-2001, 04:45 PM
glib-config --version gives 1.2.5

I didn't know i needed to update libglib-devel. Do I?

20_MuleTeam_Borax
09-09-2001, 11:25 PM
I did need to upgrade glib-devel also. good call klamath!