RSS/Atom feed Twitter
Site is read-only, email is disabled

gimpshop breaks Gimp 2.4 in Ubuntu Hardy Heron

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

9 of 9 messages available
Toggle history

Please log in to manage your subscriptions.

Can No Longer startup Gimp 2.4 in Ubuntu Hardy Heron Robert Kennedy 24 Jul 18:37
  AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron Robert Kennedy 24 Jul 21:19
   AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron Robert Kennedy 25 Jul 04:30
    AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron Joao S. O. Bueno 25 Jul 04:39
     AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron David Gowers 25 Jul 06:03
      AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron Robert Kennedy 25 Jul 06:19
    gimpshop breaks Gimp 2.4 in Ubuntu Hardy Heron Akkana Peck 25 Jul 06:53
     gimpshop breaks Gimp 2.4 in Ubuntu Hardy Heron Robert Kennedy 25 Jul 22:40
      gimpshop breaks Gimp 2.4 in Ubuntu Hardy Heron Robert Kennedy 26 Jul 15:21
Robert Kennedy
2008-07-24 18:37:27 UTC (over 16 years ago)

Can No Longer startup Gimp 2.4 in Ubuntu Hardy Heron

I just installed Ubuntu Hardy Heron 8.04.1 a week ago on a x86 PC. And gimp was working just fine.

Then I installed Gimpshop (based on gimp 2.2). FYI -- Gimpshop installs into a different directory /usr/local/bin.

Both gimp and gimpshop were working. In fact you could run both at the same time.

But now when I start gimp, I get this error:

symbol lookup error: undefined symbol: gimp_micro_version

I tried to reinstall gimp. That made no difference.

I did search google and this error is rarely reported.

Any ideas? I am really stumped and would like to get gimp working. I thought someone on this list might have an idea.

RobK __________________

Robert Kennedy
2008-07-24 21:19:04 UTC (over 16 years ago)

AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron

I found that problem.

The Latest version of the Avant Window Manager (installed from the "deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main" repo) BREAKS gimp 2.4.5 in Hardy Heron 8.04.1.

You can easily verify that this is the problem. 1. Boot off the Hardy Heron 8.04.1 Live CD.

2. Add the repos: deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main

deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main( See http://ubuntuforums.org/showthread.php?t=762363 )

3. sudo apt-get update 4. sudo apt-get install avant-window-navigator-bzr awn-core-applets-bzr awn-manager-bzr 5. Try to run gimp. It will not run. If you run gimp from the terminal, you will see the following error: symbol lookup error: undefined symbol: gimp_micro_version Now try to get gimp to run again. I can't!I tried to COMPLETELY uninstall the following: awn (using the instructions on the http://ubuntuforums.org/showthread.php?t=762363)

gimp

gimp-data

libgimp. I even manually deleted the .gimp-2.4/ folder in my home directory. Then deleted the AWN third party rep sources and reinstalled gimp. I still see the error.
This bug is VERY annoying. I would really like to get gimp running again. Any Ideas?Rob

__________________

Robert Kennedy
2008-07-25 04:30:55 UTC (over 16 years ago)

AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron

After more testing and investigation, it looks like AWN is NOT to blame in breaking the gimp in Hardy Heron. It was just mere coincidence that the installation of AWN also was the start of the gimp not working.

I booted off the Ubuntu Hardy Heron Live CD and installed gimpshop via dpkg -i. Both gimp and gimpshop worked perfectly. If you did a "ldd `which gimp-2.4`", you would see that the gimp only loaded libraries in /lib and /usr/lib and NOT any libraries installed by Gimpshop in /usr/local/lib.

Since gimpshop was installed vua "dpkg -i", the library cache was never regenerated.

But then I did a "sudo ldconfig". Then gimp stopped working. (But gimpshop still worked). If you did a "ldd `which gimp-2.4`", you would see the gimp loading some (but not all) libraries from /usr/local/lib where gimpshop installed libraries.

When I installed AWN via apt-get, the library cache got regenerated (via ldconfig). Then the gimp stopped working.

So it does look like a packaging issue. The gimpshop package should be modified to show a conflict with gimp. But since the gimpshop project appears to be dead that is not likely to happen.

From: amtor@hotmail.com To: gimp-user@lists.xcf.berkeley.edu Date: Thu, 24 Jul 2008 19:19:04 +0000 Subject: Re: [Gimp-user] AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron

I found that problem.

The Latest version of the Avant Window Manager (installed from the "deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main" repo) BREAKS gimp 2.4.5 in Hardy Heron 8.04.1.

You can easily verify that this is the problem. 1. Boot off the Hardy Heron 8.04.1 Live CD.

2. Add the repos:

deb http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main

deb-src http://ppa.launchpad.net/reacocard-awn/ubuntu hardy main ( See http://ubuntuforums.org/showthread.php?t=762363 )

3. sudo apt-get update

4. sudo apt-get install avant-window-navigator-bzr awn-core-applets-bzr awn-manager-bzr

5. Try to run gimp. It will not run. If you run gimp from the terminal, you will see the following error:

symbol lookup error: undefined symbol: gimp_micro_version

Now try to get gimp to run again. I can't! I tried to COMPLETELY uninstall the following:

awn (using the instructions on the http://ubuntuforums.org/showthread.php?t=762363)

gimp

gimp-data

libgimp.

I even manually deleted the .gimp-2.4/ folder in my home directory. Then deleted the AWN third party rep sources and reinstalled gimp. I still see the error.

This bug is VERY annoying. I would really like to get gimp running again.

Any Ideas? Rob

__________________

Joao S. O. Bueno
2008-07-25 04:39:54 UTC (over 16 years ago)

AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron

On Thursday 24 July 2008, Robert Kennedy wrote:

So it does look like a packaging issue. The gimpshop package should be modified to show a conflict with gimp. But since the gimpshop project appears to be dead that is not likely to happen.

Indeed. the right thing to do would be modify the gimp-shop package to "non-existent' - retroactively.

js ->

David Gowers
2008-07-25 06:03:43 UTC (over 16 years ago)

AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron

Hi,
On Fri, Jul 25, 2008 at 12:09 PM, Joao S. O. Bueno wrote:

On Thursday 24 July 2008, Robert Kennedy wrote:

So it does look like a packaging issue. The gimpshop package should be modified to show a conflict with gimp. But since the gimpshop project appears to be dead that is not likely to happen.

GIMPhoto is similar and not dead. However, it's based on the same idea. Providing alternate user interfaces for an entire program only serves to confuse the user and make GIMP look like a Photoshop-clone, which it is not.
So, you can possibly use GIMPhoto sometime in the future (author is working on compiling it in Linux), just be aware the the GIMP developers do not support it in anyway (except, as Joao says, in supporting it's removal from existence). I'm actually a little surprised that the first replier didn't say something like 'drop it, we don't care about gimpshop cause it's bullshit, stop using a f***ed-up hack of gimp if you want things to work in a non-f***ed-up way.'. Joao was a little more polite.

Indeed. the right thing to do would be modify the gimp-shop package to "non-existent' - retroactively.

David

Robert Kennedy
2008-07-25 06:19:53 UTC (over 16 years ago)

AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron

Thanks David. Personally, I prefer the Gimp over Photoshop or gimpshop. I was just setting up a laptop for a 12 year old daughter of a friend of mine who is more familiar with Photoshop. So I installed gimpshop not knowing it would break the Gimp 2.4.5 (which I really wanted her to try). I figured with all the advantages and new features of the Gimp 2.4.5 over a hacked version of the Gimp based on version 2.2, she would end up using the Gimp!

I only posted my original EMAIL after searching the web and finding very little discussion on the error message: "Symbol look up error: undefined symbol: gimp_micro-version"

A reinstall ofthe Gimp did not solve the problem. I was stumped.

Now I know the problem and solution. Uninstall gimpshop.

I even posted a comment on a blog telling people how to install gimpshop on hardy Heron. (see http://delirial.com/archives/howto-gimpshop-on-ubuntu/ )

There was no mention that installing gimpshop would break the gimp. Now there is. I hope others get warned.

Rob

Date: Fri, 25 Jul 2008 13:33:43 +0930 From: 00ai99@gmail.com
To: amtor@hotmail.com
Subject: Re: [Gimp-user] AWN breaks the Gimp 2.4 in Ubuntu Hardy Heron CC: gimp-user@lists.xcf.berkeley.edu

Hi, On Fri, Jul 25, 2008 at 12:09 PM, Joao S. O. Bueno wrote:

On Thursday 24 July 2008, Robert Kennedy wrote:

So it does look like a packaging issue. The gimpshop package should be modified to show a conflict with gimp. But since the gimpshop project appears to be dead that is not likely to happen.

GIMPhoto is similar and not dead. However, it's based on the same idea. Providing alternate user interfaces for an entire program only serves to confuse the user and make GIMP look like a Photoshop-clone, which it is not.
So, you can possibly use GIMPhoto sometime in the future (author is working on compiling it in Linux), just be aware the the GIMP developers do not support it in anyway (except, as Joao says, in supporting it's removal from existence). I'm actually a little surprised that the first replier didn't say something like 'drop it, we don't care about gimpshop cause it's bullshit, stop using a f***ed-up hack of gimp if you want things to work in a non-f***ed-up way.'. Joao was a little more polite.

Indeed. the right thing to do would be modify the gimp-shop package to "non-existent' - retroactively.

David

__________________

Akkana Peck
2008-07-25 06:53:08 UTC (over 16 years ago)

gimpshop breaks Gimp 2.4 in Ubuntu Hardy Heron

Robert Kennedy writes:

After more testing and investigation, it looks like AWN is NOT to blame in breaking the gimp in Hardy Heron

[ ... ]

But then I did a "sudo ldconfig". Then gimp stopped working. (But gimpshop still worked). If you did a "ldd `which gimp-2.4`", you would see the gimp loading some (but not all) libraries from /usr/local/lib where gimpshop installed libraries.

[ ... ]

So it does look like a packaging issue. The gimpshop package should be modified to show a conflict with gimp. But since the gimpshop project appears to be dead that is not likely to happen.

It's a fairly well known problem, at least among people who maintain both a locally built gimp and the one installed from their distro.

The current 2.5 release notes have a reasonable description of what's happening (which also apply to gimpshop or any version of gimp you might want to build yourself while still keeping a system-installed version), and how to fix it:
http://www.gimp.org/release-notes/gimp-2.5.html (scroll down to "Installation").

Whoever builds that gimpshop packageshould probably be doing this, though maybe they just assume that no one would ever want both gimp and gimpshop on the same system (but in that case, it should be marked as a conflict in the package dependencies, as you say). Failing that, you could probably fix it by moving all the gimpshop stuff to some other place and using a script like the one in the 2.5 release notes.

...Akkana

Robert Kennedy
2008-07-25 22:40:29 UTC (over 16 years ago)

gimpshop breaks Gimp 2.4 in Ubuntu Hardy Heron

Akkana writes:

> It's a fairly well known problem, at least among people who maintain

both a locally built gimp and the one installed from their distro.

The current 2.5 release notes have a reasonable description of what's happening (which also apply to gimpshop or any version of gimp you might want to build yourself while still keeping a system-installed version), and how to fix it:
http://www.gimp.org/release-notes/gimp-2.5.html (scroll down to "Installation").

Whoever builds that gimpshop packageshould probably be doing this, though maybe they just assume that no one would ever want both gimp and gimpshop on the same system (but in that case, it should be marked as a conflict in the package dependencies, as you say). Failing that, you could probably fix it by moving all the gimpshop stuff to some other place and using a script like the one in the 2.5 release notes.

Thanks for the info. And yes I figured out it is a Library Paths problem.

I ran the Ubuntu Hardy Heron LiveCD (which comes with Gimp 2.4.5). I ran in terminal the following:

ldd `which gimp-2.4`

and looked at where Gimp 2.4.5 was getting its libraries. It was getting ALL of them from /usr/lib and /lib.

Then I installed gimpshop and ran "ldconfig". Running "ldconfig" broke the Gimp but gimpshop still ran. I ran "ldd `which gimp-2.4` and saw that the Gimp 2.4.5 was now getting some of its libraries from /usr/local/lib (where Gimpshop stored its libraries).

This is really not surprising since "/usr/local/lib" is in the /etc/ld.so.conf.d/libc.conf file. It looks like ldconfig builds its library cache FIRST from all of the libraries listed in the /etc/ld.so.conf/*.conf files and then from /lib and /usr/lib.

It is probably NOT adviable to remove /usr/local/lib from the /etc/ld.so.conf.d/libc.conf file since that might break other applications. But you can force Ubuntu to load the /lib and /usr/lib libraries FIRST (ie BEFORE the libraries in /usr/local/lib are loaded) when running the Gimp 2.4.5 by doing the following:

LD_LIBRARY_PATH=/usr/lib /usr/bin/gimp

Now the gimp 2.4.5 runs fine.

The Gimp web page ( http://www.gimp.org/release-notes/gimp-2.5.html ) recommends that one creates a startup script where LD_LIBRARY_PATH is FIRST EXPORTED before a version of the Gimp is run. But I am nervous about exporting a variable that would cause Ubuntu to FIRST load libraries in /usr/lib and then load libraries in /usr/local/lib. That might break some other applications if they are run after the Gimp is run in this startup script.

Does anyone know whether the failure to export LD_LIBRARY_PATH (as shown above) will cause any problems trying to run the Gimp 2.4.5?

It does not seem to cause any problems. At least the Gimp 2.4.5 runs now.

P.S. Perhaps the best way is to recompile Gimpshop and tell the compiler to store its libraries in a different location such as /usr/local/gimplibs. And then do run the following to get gimpshop working:

LD_LIBRARY_PATH=/usr/local/gimplibs /usr/local/bin/gimp

Or Perhaps I don't even need to recompile. Just more the libs onto /usr/local/gimplibs.

__________________

Robert Kennedy
2008-07-26 15:21:24 UTC (over 16 years ago)

gimpshop breaks Gimp 2.4 in Ubuntu Hardy Heron

FYI - I have written up some instructions on how to get the gimp to run again in Hardy Heron when gimpshop is also installed.

If your are having problems getting the Gimp to run in other distros where gimpshop is installed, give these instructions a try. They should work but you might need to make slight modifications depending on the distro.

You should be able to easily modify these instructions to get multiple versions of the gimp to run on the same PC. (e.g. the version of gimp that came with your distro and a more recent version of the gimp).

See

http://ubuntuforums.org/showthread.php?t=870475

or

http://gimpshop.webuyusedcars.com/forum/YaBB.pl?num=1217038674

__________________