LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   upgrading glib (https://www.linuxquestions.org/questions/linux-newbie-8/upgrading-glib-171841/)

wilsnyder 04-18-2004 08:22 PM

upgrading glib
 
Hi all,

I have redhat 9, glib-1.2.10. Many things depend on having glib-1.2.10 or greater. I want to install glib-2.4.0. How do I install it without screwing up all the things that depend on glib-1.2.10? Will everything that depends on 1.2.10 work with 2.4.0? Any and all suggestions welcome.

Thanks!

bigrigdriver 04-18-2004 10:08 PM

First question: since you're using RH, do I assume correctly that you intend to upgrade from rpm?
Second question: Not a question really, just an observation. The libs ought to be backwards compatible. Anything which requires 1.2.10 should still work under 2.4.0, just can't use the added capibilities.
Third question: have you considered using rpm -U to upgrade an existing installation, rather than rpm -i to make a parallel installation and possibly create a host of conflicts with two installations in place?
For more info, study the rpm man pages, or better yet, RH's own Max-rpm, a huge book with all you'd ever want to know about rpm.

wilsnyder 04-18-2004 10:59 PM

Thanks.

I first tried with rpm packages, (glib, pango, atk and gtk2), but things kept getting screwed up.

Now I'm trying to install using the tar balls. I was having trouble installing pango 1.4, it didn't find glib-2.4 even though I installed it forst. But glib-2.4 installed into /usr/local/lib instead of /usr/lib, so it wasn't in the PKG_CONFIG_PATH. I added /usr/local/lib to the path and it works.

wil


All times are GMT -5. The time now is 09:11 AM.