LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-28-2004, 04:43 PM   #1
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
Pango wants >=glib-2.4.0, I installed glib 2.4.7 and pango still says I need >=2.4.0


I'm taking an old install of Red Hat 7.3 and trying to bring it up to speed, so I'm installing glib and pango so that I can install the latest version of GTK+. I tried pango first, and was told that I needed to install a more recent version of glib first. So I compiled and successfully installed glib-2.4.7. Its default installation prefix was /usr/local, but I noticed that libglib-2.0.so is in /usr/lib so I installed glib-2.4.7 with a prefix of /usr. When I go to configure pango-1.4.1, though, I get the following message:

Code:
*** Glib 2.4.0 or better is required. The latest version of
*** Glib is always available from ftp://ftp.gtk.org
I KNOW I have v2.4.7 of glib installed, does anyone know why this error is showing?

BTW, I also have the latest version of pkgconfig installed.
 
Old 10-28-2004, 08:35 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Did you try an updatedb and a ldconfig? Is it in your path? Who are you installing as, root or a user and is this an RPM or from source? Better details get better replies.
 
Old 10-29-2004, 08:42 AM   #3
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
It was built and installed from source. I had run ldconfig, but not updatedb. Running updatedb did the trick. Thanks.
 
Old 10-29-2004, 12:56 PM   #4
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
No, I was mistaken. Still getting the same error. the directory for GLib is in the ld.so.conf, and I've run both ldconfig and updatedb.
 
Old 10-31-2004, 10:05 AM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
updatedb never fixes such an error. It just updates the slocate database, which is unrelated.

ldconfig is very unlikely to fix the error, because it maintains the run-time linkers cache.

Check output in pango's "config.log", as to why it fails. You may need to point pkgconfig to /usr/local/lib/pkgconfig (see its manual page), before it finds the glib pkgconfig file.
 
Old 11-01-2004, 05:53 PM   #6
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Original Poster
Rep: Reputation: 30
I got it. I set the PKG_CONFIG_PATH environment variable to include /usr/lib/pkgconfig, since that's where GLib is installed. I wouldn't have installed it there to begin with, but that's where the previous version was installed.

Thanks!
 
  


Reply


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
pango 1.4.0 and glib.h errors thehundredthone Linux - Newbie 4 03-28-2006 11:25 PM
I *just installed* glib but pango can't find it Avatar Linux - Software 5 09-14-2005 01:07 PM
Pango not building - glib not installed correctly? headrift Linux - Newbie 1 09-14-2005 06:03 AM
Compiled en installed new Glib but Pango won't find it Haiyadragon Linux - Newbie 1 04-03-2004 08:08 AM
Pango-1.2.1 and GLib-2.2.1 Adam Shapiro Linux - Software 0 04-19-2003 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:40 PM.

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