LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



Reply
 
Search this Thread
Old 02-21-2004, 02:41 PM   #1
toships
Member
 
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
2 versions of glib conflict


I have been trying to install atk and this is the error I got.

Installing atk-1.2.4
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.1)
*** 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/.


I have installed glib 2.2.3 using the default options but I am not able to run glib-config

[root@localhost root]# glib-config --version
bash: glib-config: command not found

From glib-2.2.3 manual : "/usr/local/lib/glib-2.0/include" has new glib and it advices that "/usr/local/include/glib-2.0" has the old version and should be deleted. The new glib directory (/usr/local/lib/glib-2.0/include) has only one file (shown below) so I am skeptical to remove the old glib.

[root@localhost include]# pwd
/usr/local/lib/glib-2.0/include
[root@localhost include]# ls
glibconfig.h

I know that I have to edit /etc/lo.so.conf (shown below)

[root@localhost etc]# cat ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-3.1/lib

but I dont know what link to add, please help.
 
Old 02-21-2004, 03:34 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
hmm, try /usr/lib/glib/include

this is where my glibconfig.h is
 
Old 02-21-2004, 04:29 PM   #3
toships
Member
 
Registered: Feb 2004
Posts: 30

Original Poster
Rep: Reputation: 15
well i dont have the glibconfig.h in /usr/lib/glib/include but got it some other dir which i included .. as below but it didnt work.

[root@localhost etc]# cat ld.so.conf
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/qt-3.1/lib
/usr/local/lib/glib/include/
 
  


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
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 03:35 AM
Two versions of glib installed rundjuling Linux - Software 5 06-03-2008 03:30 AM
how to install new versions of glib? gobi_dgm Linux - Newbie 2 02-08-2005 12:53 AM
GLib 1.2.8 & 1.2.10 conflict eeverde Linux - Newbie 0 08-04-2004 03:15 AM
Two versions of Glib? OnlyMe Linux - Software 1 04-21-2004 07:13 AM


All times are GMT -5. The time now is 11:55 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration