Re: Can't run gimp after gtk upgrade



Michael Torrie wrote:
On Sat, 2006-03-25 at 18:42 -0600, Jim Sabatke wrote:
David Necas (Yeti) wrote:
On Fri, Mar 24, 2006 at 08:21:35PM -0600, Jim Sabatke wrote:
SuSE 9.0
gimp 2.2.3

I just compiled and installed the latest gtk+ libs, and get the following error when I try to run gimp:

gimp: relocation error: /opt/gnome/lib/libgtk-x11-2.0.so.0: undefined
			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

the fact that you have stuff installed to /opt usually means you have
conflicting libraries.  System librarys, from SuSE RPMS will be
installed to /usr/lib.  So you definitely have a library conflict here.


SuSE puts all KDE and gnome apps and libs into /opt. This is meant to be part of a standard that emerged some years ago that nobody else follows. I rather like it as it is easy to isolate things. I've been upgrading gtk and gimp a lot over the years and have never had a problem putting them where SuSE originally had them, in /opt.

I did check my firewall box, which I have never upgraded by hand, and all the glib and etc. stuff is in /opt/gnome.

I've checked and rechecked the install numerous times. I've done this many times before, so I know how to install from source.

Yes, but what prefix did you install to?

--prefix=/opt/gnome

BTW, I compiled and installed libXft-2.1.7 and the pango compile "INCLUDE" error went away, so I now have X and Xft for backends along with FeeType. Even that doesn't fix the problem.

I'm beating my head against the wall here. I've checked with 'locate' and there are no more glib installs anywhere.

what does "ldd /path/to/gimp" say?


Here it is:

jim ripley:~/programs/gimp/libs/gtk+-2.8.16> ldd /opt/gnome/bin/gimp
libgimpwidgets-2.0.so.0 => /opt/gnome/lib/libgimpwidgets-2.0.so.0 (0x40035000) libgimpmodule-2.0.so.0 => /opt/gnome/lib/libgimpmodule-2.0.so.0 (0x40110000) libgimpcolor-2.0.so.0 => /opt/gnome/lib/libgimpcolor-2.0.so.0 (0x40115000) libgimpthumb-2.0.so.0 => /opt/gnome/lib/libgimpthumb-2.0.so.0 (0x4011e000) libgimpmath-2.0.so.0 => /opt/gnome/lib/libgimpmath-2.0.so.0 (0x40127000) libgimpbase-2.0.so.0 => /opt/gnome/lib/libgimpbase-2.0.so.0 (0x4012c000) libgtk-x11-2.0.so.0 => /opt/gnome/lib/libgtk-x11-2.0.so.0 (0x40139000) libgdk-x11-2.0.so.0 => /opt/gnome/lib/libgdk-x11-2.0.so.0 (0x403f5000)
        libatk-1.0.so.0 => /opt/gnome/lib/libatk-1.0.so.0 (0x4046e000)
libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib/libgdk_pixbuf-2.0.so.0 (0x40486000)
        libm.so.6 => /lib/i686/libm.so.6 (0x4049b000)
libpangoxft-1.0.so.0 => /opt/gnome/lib/libpangoxft-1.0.so.0 (0x404bf000) libpangox-1.0.so.0 => /opt/gnome/lib/libpangox-1.0.so.0 (0x404c6000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x404d1000)
libpangoft2-1.0.so.0 => /opt/gnome/lib/libpangoft2-1.0.so.0 (0x404e8000)
        libpango-1.0.so.0 => /opt/gnome/lib/libpango-1.0.so.0 (0x4050d000)
libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x40544000) libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x4057b000)
        libdl.so.2 => /lib/libdl.so.2 (0x4057f000)
        libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x40582000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40603000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4062d000)

*note* there is a libfreetype.so in /usr/X11R6/lib/modules/fonts/libfreetype.so

        libz.so.1 => /lib/libz.so.1 (0x40691000)
        libc.so.6 => /lib/i686/libc.so.6 (0x406a1000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x407d4000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x408d0000)
libpangocairo-1.0.so.0 => /opt/gnome/lib/libpangocairo-1.0.so.0 (0x408d8000)
        libcairo.so.2 => /opt/gnome/lib/libcairo.so.2 (0x408df000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40920000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40924000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40932000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x4093b000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4094d000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4096e000)
jim ripley:~/programs/gimp/libs/gtk+-2.8.16>


Hope this all helps,

Jim



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]