Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-18-2004, 08:22 PM   #1
LQ Newbie
Registered: Jan 2001
Location: China
Posts: 8

Rep: Reputation: 0
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.

Old 04-18-2004, 10:08 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
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.
Old 04-18-2004, 10:59 PM   #3
LQ Newbie
Registered: Jan 2001
Location: China
Posts: 8

Original Poster
Rep: Reputation: 0

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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glib compile problems after upgrading to 10.0 jrdioko Slackware 2 08-10-2005 09:07 PM
Errors after upgrading glib simonalex Linux - Software 2 08-14-2004 01:42 PM
Upgrading glib jrdioko Linux - Software 5 07-26-2004 06:21 PM
problem with upgrading glib-2.2.3 to 2.4.2 Aioria Linux - Software 0 07-05-2004 06:05 AM
Upgrading to glibc-2.3.2 from GLIB 1.2.10 MatthewASmith79 Linux - Newbie 4 04-08-2004 10:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration