LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-02-2003, 04:06 PM   #1
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Rep: Reputation: 15
ATK for GTK+ installation problems with GLIB


I hate to sound blunt.. but

Code:
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6)
*** 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/.
what is that and how do i fix it? Obviously I have 2 versions of glib installed, as I just upgraded that as well... I'm unsure as how to remove the old version (what directory it would be in, whats safe to delete etc.)

Greg
 
Old 03-02-2003, 04:15 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Did you run '/sbin/ldconfig' after you installed the newer version?
Did you set (or change) the environment variable LD_LIBRARY_PATH in your /etc/profile? You will also need to re-read that profile as well (usually in ~/.bashrc) by just doing a 'source ~/.bashrc'.

To see if it worked 'echo $LD_LIBRARY_PATH'
 
Old 03-02-2003, 04:19 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
how are you installing the software? if it's rpm, try "rpm -qa | grep glib" and see what that says. i can't see how you managed to get in that situation, maybe you simply installed the wrong glibc-devel pacakge.
 
Old 03-02-2003, 05:26 PM   #4
Greg21
Member
 
Registered: Jan 2002
Posts: 72

Original Poster
Rep: Reputation: 15
Yes I ran /sbin/ldconfig.

I am installing from source.

I think the problem is I had a version of GTK, then installed a newer version without removing the older one. Now im not sure what to do (I'm not even sure what files to delete to remove the old one).

Greg
 
Old 03-02-2003, 05:55 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well it says that glib is at fault, not gtk. it's how you installed glib, not gtk or atk that matters. maybe if you provide a tiiny bit more info about your system, (fill in your profile!) then we can get a bit further
 
Old 04-21-2003, 07:00 PM   #6
JEFNET.NET
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
I have the same problem running RedHat 8.0. I have no reference to LD_LIBRARY_PATH in the /etc/profile file! And when I echo$ LD_LIBRARY_PATH nothing happens ( a feild of black space appears where there would be a response ). What should the variable in the /etc/profile look like? MIde looks like this:

# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|$1($|" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}

# Path manipulation
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi

pathmunge /usr/X11R6/bin after

unset pathmunge

# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done

unset i


any help would be great....I too have upgraded to 2.2.X!!!
 
  


Reply



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
Freerock uninstall stole GTK looking for up-to-date pango, atk, gtk, glib and xft tgz Oholiab Slackware 8 09-18-2005 11:57 AM
Been fighting gtk,glib,atk,pango for days. whansard Linux - Software 0 12-18-2004 10:18 AM
Help!!! How to install GLib, GTK, ATK and Pango, just to get Firefox running. LOL RJARRRPCGP Linux - Newbie 7 11-20-2004 05:42 PM
Pb installing glib, atk, pango, gtk giill Linux - Software 8 11-23-2003 01:25 PM
Installing Glib, ATK, GTK, Pkg Config, and Pango! LinuZ Linux - Newbie 9 10-26-2003 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:38 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