LinuxQuestions.org
Help answer threads with 0 replies.
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 02-13-2008, 09:34 AM   #1
Donik
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Rep: Reputation: 0
Unhappy Gimp complains about gtk+ version ("micro mismatch") when started from kmenu


Hello all,

My Gimp has some issues when started from the KDE menu: It complains about the gtk+ version:

"Gtk+ version too old (micro mismatch)

GIMP requires GTK+ version 2.10.13 or later.
Installed GTK+ version is 2.10.9.

Somehow you or your software packager managed
to install GIMP with an older GTK+ version.

Please upgrade to GTK+ version 2.10.13 or later."

My libgtk2.0-0 package is at version 2.12.5-2, gimp is at version 2.4.4-1.

So I assume I HAVE "gtk+ 2.10.13 or later", and, in fact, gimp does start without any problems when invoked from commandline. Only when trying to start it from kmenu it provides me with the above dialog.

I tried to purge and reinstall gimp, with purging the .gimp-folder in the home-folder, and I just tried to reinstall kde, without any success ...

I'm using Debian lenny 2.6.22-3-686, with kde 3.5.8.

Any ideas?

Greets
Don
 
Old 04-23-2008, 05:16 AM   #2
neogrande
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
I have the same problem here.
Not only gimp isn't working, beryl-manager doesn't take the right GTK+ either.

Because I have too much time, I purged KDE, X.org, all libglib2, all GTKs and so on. Was a nice session ;-)
After reinstalling KDE, x.org, gimp and so on, it complains the wrong version again.

There is an libgtk-x11-2.0.so in /usr/lib and in /usr/local/lib

With
Code:
ldd $(which gimp) | grep gtk
I found out, that gimp is depending on the one in /usr/local/lib, but the one in /usr/lib is the file from the package libgtk2.0-0.

apt-file finds no information about the file in /usr/local/lib.

Do you have any idea, how to solve this?
 
Old 05-11-2008, 02:20 AM   #3
olf359
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
For me a simple "rm /usr/local/lib/libgtk-x11*" solved the problem.

CU, Olf
 
Old 06-25-2008, 09:26 AM   #4
Donik
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Nope, doesn't work for me.

To make things worse, gimp noadays changed it's behaviour and doesn't start when invoked from commandline either, again with the mentioned popup dialog (i.e. before removing the libraries as olf suggested).

If I remove the above libraries, gimp then states (ldd ...) to depend on the libgtk-x11 libraries in /usr/lib/, but won't start, this time without any message. It shows the splash screen, but without the progression bar, and hangs. Clicking on the splash screen will cause it to disappear, but gimp still doesn't start.
dpkg-reconfiguring gimp oder libgtk2.0-2 after removing the libraries doesn't help either, gimp then fails to start (from bash) with the message "gimp: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: gdk_threads_add_idle".

So I moved those libraries back to the place I found them, and gave up so far.

Any other ideas?
 
Old 07-10-2008, 09:10 AM   #5
Donik
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Lightbulb Problem solved

Oky, I suddenly had the enlightenment.

After I thought really hard about neograndes reply, that there was no /usr/local/lib/libgtk in any of the Debian packages, I came up with the following solution:

I obviously compiled gtk+ myself once (although I don't remember ... keeping a rootlog suddenly seems to be a good idea ...). The version I compiled (533 days ago... why do I know? I used find -atime to find all the files) was 2.10.0. So I went to the gtk+ homepage, downloaded the source of 2.10.0, configured it ("./configure") and typed "sudo make uninstall" which got me rid of this gtk-version. A last "sudo ldconfig" (don't know whether this was necessery) and gimp started working again.

Now there's only another thing in /usr/local which I compiled the same day: metacity. I guess this selfcompiled version will not work anymore, but since I'm using KDE (and don't remember what I compiled metacity for) I don't care. I'm trying to uninstall this metacity the same way as the gtk+, but I didn't figure out yet which version it is.

Thanks for all the help
Don

As always, Happy Computing
 
  


Reply

Tags
debian, gimp, gtk+


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
OpenLDAP complains of Berkeley DB version mismatch [GOD]Anck Slackware 7 06-08-2009 01:54 AM
About SElinux: enter "setenforce 0",system complains bad command aladin Linux - Software 3 08-21-2005 08:16 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
"perl Makefile.PL" complains about cc & gcc (self solved tip) Raptor Ramjet Slackware 2 09-13-2004 02:24 PM
Error "Kernel version mismatch" when nic driver will be loaded grubjo Linux - Networking 1 10-03-2003 04:12 AM


All times are GMT -5. The time now is 10:09 PM.

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