Toby Haynes wrote:
Tom Williams wrote:


-------START---------

[EMAIL PROTECTED]:~$ file /usr/bin/gimp
/usr/bin/gimp: symbolic link to `gimp-2.2'
[EMAIL PROTECTED]:~$ file /usr/bin/gimp-2.2
/usr/bin/gimp-2.2: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), for GNU/Linux 2.6.0, stripped
[EMAIL PROTECTED]:~$

---------END----------

It would be more interesting to see what the dynamic linker is doing for the gimp install in /usr/local

i.e.
ldd /usr/local/gimp-2.3/bin/gimp-2.3

compared with
ldd /usr/bin/gimp

The reason for problems is not normally the base executable - it is the libraries that end up being linked to it. Both gimp-2.2 and gimp-2.3 have similar library names - if you see the /usr/local/gimp-2.3/bin/gimp-2.3 binary getting linked to the /usr/lib/libgimp* libraries, then you have a problem. If they are linked to /usr/local/gimp-2.3/lib/libgimp*, then you are less likely to have problems.
Ok, I've run the two commands above, as requested, except I ran the ldd against /usr/bin/gimp-2.2 instead of /usr/bin/gimp.

The results are in the attached text files. It looks like the right library search paths are compiled into the executable.

Peace...

Tom
        libgimpwidgets-2.0.so.0 => /usr/lib/libgimpwidgets-2.0.so.0 
(0x00002ab139043000)
        libgimpmodule-2.0.so.0 => /usr/lib/libgimpmodule-2.0.so.0 
(0x00002ab13922e000)
        libgimpcolor-2.0.so.0 => /usr/lib/libgimpcolor-2.0.so.0 
(0x00002ab139332000)
        libgimpthumb-2.0.so.0 => /usr/lib/libgimpthumb-2.0.so.0 
(0x00002ab13943c000)
        libgimpmath-2.0.so.0 => /usr/lib/libgimpmath-2.0.so.0 
(0x00002ab139545000)
        libgimpbase-2.0.so.0 => /usr/lib/libgimpbase-2.0.so.0 
(0x00002ab13964a000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00002ab13975a000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00002ab139bee000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00002ab139d86000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 
(0x00002ab139ea6000)
        libm.so.6 => /lib/libm.so.6 (0x00002ab139fbf000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 
(0x00002ab13a140000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002ab13a249000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002ab13a35b000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00002ab13a464000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00002ab13a566000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002ab13a66f000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002ab13a772000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002ab13a87c000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00002ab13a982000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002ab13aaeb000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x00002ab13acc9000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 
(0x00002ab13ade1000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00002ab13af0f000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00002ab13b04f000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00002ab13b191000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002ab13b294000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002ab13b398000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002ab13b537000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002ab13b676000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002ab13b7ef000)
        libc.so.6 => /lib/libc.so.6 (0x00002ab13b906000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002ab13bb47000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002ab13bc4a000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002ab13bd6e000)
        librt.so.1 => /lib/librt.so.1 (0x00002ab13be73000)
        /lib64/ld-linux-x86-64.so.2 (0x00002ab138f26000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002ab13bf7d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002ab13c09f000)
        libgimpwidgets-2.0.so.0 => 
/usr/local/gimp-2.3/lib/libgimpwidgets-2.0.so.0 (0x00002ae81e9ae000)
        libgimpmodule-2.0.so.0 => 
/usr/local/gimp-2.3/lib/libgimpmodule-2.0.so.0 (0x00002ae81ebc2000)
        libgimpcolor-2.0.so.0 => /usr/local/gimp-2.3/lib/libgimpcolor-2.0.so.0 
(0x00002ae81ecc6000)
        libgimpthumb-2.0.so.0 => /usr/local/gimp-2.3/lib/libgimpthumb-2.0.so.0 
(0x00002ae81edd1000)
        libgimpmath-2.0.so.0 => /usr/local/gimp-2.3/lib/libgimpmath-2.0.so.0 
(0x00002ae81eeda000)
        libgimpconfig-2.0.so.0 => 
/usr/local/gimp-2.3/lib/libgimpconfig-2.0.so.0 (0x00002ae81efdf000)
        libgimpbase-2.0.so.0 => /usr/local/gimp-2.3/lib/libgimpbase-2.0.so.0 
(0x00002ae81f0ee000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00002ae81f21a000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00002ae81f6ad000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00002ae81f845000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 
(0x00002ae81f966000)
        libm.so.6 => /lib/libm.so.6 (0x00002ae81fa7e000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 
(0x00002ae81fbff000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00002ae81fd09000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x00002ae81fe72000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 
(0x00002ae81ff89000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00002ae8200b8000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00002ae8201f8000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00002ae820339000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002ae82043d000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002ae820541000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002ae820680000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002ae8207fa000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00002ae820910000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002ae820a14000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002ae820bb3000)
        libc.so.6 => /lib/libc.so.6 (0x00002ae820cc9000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00002ae820f0a000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00002ae8210e8000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002ae8211f9000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00002ae821303000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0x00002ae821405000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00002ae82150d000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002ae821611000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00002ae82171b000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002ae821821000)
        librt.so.1 => /lib/librt.so.1 (0x00002ae821944000)
        /lib64/ld-linux-x86-64.so.2 (0x00002ae81e891000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002ae821a4e000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00002ae821b70000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002ae821c73000)
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to