LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-12-2004, 10:00 PM   #1
Kanaflloric
Member
 
Registered: Jun 2004
Location: Canada
Distribution: Slackware 10.0
Posts: 80

Rep: Reputation: 15
./configure error : 2 versions of glib found (pygtk install)


Hi

First, when I tried to install pygtk 2.2.0, it told me that it was needed glib-2.2 or greater.
I installed glib-2.4, and tried again to install pygtk.

Then, it told me something like pkgconfig had returned glib-2.4, but glib-2.0.6 was found. It suggested to remove 2.0.6 (I don't know how to do that), or update /etc/ld.so.conf, or check for PKG_CONFIG_PATH

PKG_CONFIG_PATH was pointing on /usr/local/lib/pkgconfig, and there was four files of glib stuff in this directory. But there was also older glib stuff in /usr/lib/pkgconfig, with a lot of other things.

So, I have tried :

# export PKG_CONFIG_PATH=/usr/lib/pkgconfig , and installed again glib-2.4, so that librairies come in the good directory.

But the four glib files went again in /usr/local/lib/pkgconfig, and, in fact, during the make install of glib, it was said :

. . .

Libraries have been installed in:
/usr/local/lib

. . .

And pygtk installation does not find any up-to-date glib, now !


I'm lost !

Last edited by Kanaflloric; 08-13-2004 at 10:07 AM.
 
Old 09-28-2004, 04:46 AM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The ld.so.conf is very basic. Each line points to a directory that has library or shared files to be loaded in memory. Just add /usr/local/lib on a new line in /etc/ld.so.conf. Then type ldconfig or if you want to see what is ldconfig is doing type "ldconfig -v". You will have to login as su or root to edit /etc/ld.so.conf and to run ldconfig.

You can make a symbolic link to point /usr/local/lib/pkgconfig to /usr/lib/pkgconfig. First you will have to move the files in /usr/local/lib/pkgconfig to /usr/lib/pkgconfig. Then you can make a symbolic link. To do this type "ln -vfs /usr/local/lib/pkgconfig /usr/lib/pkgconfig". If you type "ls -l /usr/local/lib/pkgconfig it should be pointing to /usr/local/lib/pkgconfig". Again you will have to login as su or root to do this.

You will have to specify the path that has glib-2.4 headers when you run ./configure for pygtk 2.2.0. If you have compiled glib-2.0.6. Go into the source directory where you compiled from and do "make uninstall" as su or root.

I do not know why people have not tried posting something because it is a little simple especially the /etc/ld.so.conf file.
 
  


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 02:35 AM
how to install new versions of glib? gobi_dgm Linux - Newbie 2 02-07-2005 11:53 PM
pygtk and glib MasterKin8T Slackware 2 01-16-2005 11:39 PM
GIMP complains about glib Ephracis Linux - Software 2 01-14-2005 04:31 AM
pygtk-2.0 not found during install of gnome-python? morrolan Linux - Software 9 02-02-2004 01:13 AM


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

Main Menu
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