Categories
Linux Ubuntu

gimp: error while loading shared libraries: libgegl-0.0.so.0: cannot open shared object file: No such file or directory

After upgrading from Ubuntu 11.10 to 12.04 I found gimp couldn’t access the shared libraries it needed, most likely an error with symbolic links as described by lovelyindia in this post.

Fix 1:

He managed to fix the issue by removing gimp and purging the offending libraries and then letting apt deal with the libraries when he re-installed gimp, as per the below commands:

sudo apt-get update 
sudo apt-get purge gimp libgegl* libbabl* 
sudo apt-get install gimp 
sudo apt-get clean

While this is likely to work for most people encountering this issue, it didn’t for me.

Fix 2:

Then I remembered I had used the repogen source list generator, in which I chose to include the gimp svn build. While you may not have gone about it the same way, you may also have a different repository in your sources.list file which is causing this issue, if the previous method did not resolve the issue.

In order to fix this, I had to open the sources.list file and comment out the offending repo.

sudo gedit /etc/apt/sources.list

Now search for any reference to gimp, in my case this was the lines I changed:

#### Gimp SVN - https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 405A15CB
deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu precise main

I commented out the line linking to the repo by adding a ‘#’ to the front, as below:

#### Gimp SVN - https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn
## Run this command: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 405A15CB
# deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu precise main

I then uninstalled gimp, once I knew it may have been the newly added repository that I had added:

sudo apt-get purge gimp

Then I saved and exited the file and updated apt:

sudo apt-get update

I then re-installed gimp:

sudo apt-get install gimp

This solved the issue for me, I hope this helps!

Categories
GIMP Posts Ubuntu

GIMP (2.6.8) Crashing On Some Toolbox Icons – Lucid

:~$ gimp
gimp: fatal error: Failed to register GObject with DBusConnection

(script-fu:3100): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error

I fixed this error by removing opening Synaptic Package Manager and searching for appmenu-gtk, right click and mark for removal, once this has been done it should begin to work again.

Categories
Blog GIMP Linux Posts Windows

HowTo: Install & Use Resynthesizer for GIMP

Remember this Photoshop CS5 sneak peak showing off it’s latest and greatest feature Content-Aware Fill a couple months ago, well it turns out a reasonably old plug-in for GIMP (GNU Image Manipulation Program) named Resynthesizer seems to work just as great and because it is what it is, it’s free and open-source.

Installing on Ubuntu 9.10/10.04 install:

sudo apt-get install gimp-resynthesizer

or for the Source/Windows/Fedora Core 4 versions see the download section.

Once you have it installed, it’s simple to use really just select something on your image that shouldn’t be there and right click on the selection Filters -> Map -> Resynthesize.. and up should pop an options box, these settings are pretty standard and will get rid of most things given that they aren’t too big. It’s best if you’re not getting the results you want to play around with the settings yourself to get to know them better.

Click after the break for an example with step by step guide.