Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

After upgrading to 12.04, I wasn't able to run GIMP. Now I installed the latest 2.8 from PPA, and still am unable to run it. I get the error:

gimp: error while loading shared libraries: wrong ELF class: ELFCLASS64

strangely enough, gimp is 64-bit:

$ file /usr/bin/gimp-2.8
/usr/bin/gimp-2.8: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs)....

So why can't I run it? I reinstalled libgegl, I have 0.0.22 and 0.2.0 versions installed.

share|improve this question
up vote 1 down vote accepted

I started to get it working by uninstalling, then removing leftover files (I had compiled gimp at some point earlier), which are reported with whereis gimp. Now after reinstall, it started up with error, second startup complained about files in /usr/share/gimp nonexistent. After apt-get purge and install of gimp-data and gimp packages, it works!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.