LinuxQuestions.org
Help answer threads with 0 replies.
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 01-14-2005, 12:25 AM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
GIMP complains about glib


I am trying to install gimp and first it complain about not having a new enough version of glib. So I downloaded the newest and did the usual configure/make/make install. Now I get this from configure for gimp:
Code:
checking for GLIB - version >= 2.4.5... 
*** 'pkg-config --modversion glib-2.0' returned 2.6.1, but GLIB (2.4.2)
*** 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
I would gladly remove the old version of glib but how can I remove it? I guess it was installed with slackware.
 
Old 01-14-2005, 01:42 AM   #2
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
i could be wrong but if it came with the distro then maybe it came as a rpm. Do rpm -qa | grep glib and if you see the old version you can get rid of it with rpm -e glib.
 
Old 01-14-2005, 04:31 AM   #3
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
slackware does not use rpm's. MezzyMeat if you want to see the packages currently installed on your system do the following in a terminal:

cd /var/log/packages
ls | more

if you want to remove one, do the following as root:

removepkg <package>

Now me personally, I wouldn't download a new glib and ./configure, make, and make install even if I removed the old library first. I've always had an easier time administering what I do and don't have on the system. So I personally would configure the new glib (after I uninstalled the old one) with:

./configure --prefix=/usr
make

and I use checkinstall for all my installations to make life easier when you want to remove/upgrade something (you can find it on a slackware mirror in the /extra directory).
These are just my preferences though and do things whatever way you feel most comfortable with.

p.s. -- when you install something with ./configure,make,make install (thus installing into /usr/local) when there is an conflicting version in /usr, it will always pick up /usr instead of /usr/local first (unless you modify all the corresponding paths the configure script is looking for).

Last edited by __J; 01-14-2005 at 04:33 AM.
 
  


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
xmms install (needs glib>1.22), just installed glib 2.4.8 and still get error message eskiled Linux - Software 2 12-19-2005 09:12 PM
Compiling gimp-2.3.2, having issues with glib shevegen Linux - Software 2 08-03-2005 07:19 AM
pygtk install found 2 versions of glib and complains Kanaflloric Linux - Software 1 09-28-2004 04:46 AM
Gimp...pango....gtk....glib....uhhhhh....... TheMusicGuy Linux - Software 27 06-23-2004 07:44 AM
Difficult with Dependencies for the GIMP and uninstalling previous version of GLIB harryman100 Linux - Software 0 03-25-2004 02:42 AM

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

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