Toby Haynes wrote:
Tom Williams wrote:


[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


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

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.


Tom => /usr/lib/ 
(0x00002ab139043000) => /usr/lib/ 
(0x00002ab13922e000) => /usr/lib/ 
(0x00002ab139332000) => /usr/lib/ 
(0x00002ab13943c000) => /usr/lib/ 
(0x00002ab139545000) => /usr/lib/ 
(0x00002ab13964a000) => /usr/lib/ (0x00002ab13975a000) => /usr/lib/ (0x00002ab139bee000) => /usr/lib/ (0x00002ab139d86000) => /usr/lib/ 
(0x00002ab139ea6000) => /lib/ (0x00002ab139fbf000) => /usr/lib/ 
(0x00002ab13a140000) => /usr/lib/ (0x00002ab13a249000) => /usr/lib/ (0x00002ab13a35b000) => /usr/lib/ (0x00002ab13a464000) => /usr/lib/ (0x00002ab13a566000) => /usr/lib/ (0x00002ab13a66f000) => /usr/lib/ (0x00002ab13a772000) => /usr/lib/ (0x00002ab13a87c000) => /usr/lib/ (0x00002ab13a982000) => /usr/lib/ (0x00002ab13aaeb000) => /usr/lib/ (0x00002ab13acc9000) => /usr/lib/ 
(0x00002ab13ade1000) => /usr/lib/ (0x00002ab13af0f000) => /usr/lib/ (0x00002ab13b04f000) => /usr/lib/ (0x00002ab13b191000) => /lib/ (0x00002ab13b294000) => /usr/lib/ (0x00002ab13b398000) => /usr/lib/ (0x00002ab13b537000) => /usr/lib/ (0x00002ab13b676000) => /usr/lib/ (0x00002ab13b7ef000) => /lib/ (0x00002ab13b906000) => /usr/lib/ (0x00002ab13bb47000) => /usr/lib/ (0x00002ab13bc4a000) => /usr/lib/ (0x00002ab13bd6e000) => /lib/ (0x00002ab13be73000)
        /lib64/ (0x00002ab138f26000) => /usr/lib/ (0x00002ab13bf7d000) => /lib/ (0x00002ab13c09f000) => 
/usr/local/gimp-2.3/lib/ (0x00002ae81e9ae000) => 
/usr/local/gimp-2.3/lib/ (0x00002ae81ebc2000) => /usr/local/gimp-2.3/lib/ 
(0x00002ae81ecc6000) => /usr/local/gimp-2.3/lib/ 
(0x00002ae81edd1000) => /usr/local/gimp-2.3/lib/ 
(0x00002ae81eeda000) => 
/usr/local/gimp-2.3/lib/ (0x00002ae81efdf000) => /usr/local/gimp-2.3/lib/ 
(0x00002ae81f0ee000) => /usr/lib/ (0x00002ae81f21a000) => /usr/lib/ (0x00002ae81f6ad000) => /usr/lib/ (0x00002ae81f845000) => /usr/lib/ 
(0x00002ae81f966000) => /lib/ (0x00002ae81fa7e000) => /usr/lib/ 
(0x00002ae81fbff000) => /usr/lib/ (0x00002ae81fd09000) => /usr/lib/ (0x00002ae81fe72000) => /usr/lib/ 
(0x00002ae81ff89000) => /usr/lib/ (0x00002ae8200b8000) => /usr/lib/ (0x00002ae8201f8000) => /usr/lib/ (0x00002ae820339000) => /lib/ (0x00002ae82043d000) => /usr/lib/ (0x00002ae820541000) => /usr/lib/ (0x00002ae820680000) => /usr/lib/ (0x00002ae8207fa000) => /usr/lib/ (0x00002ae820910000) => /usr/lib/ (0x00002ae820a14000) => /lib/ (0x00002ae820bb3000) => /lib/ (0x00002ae820cc9000) => /usr/lib/ (0x00002ae820f0a000) => /usr/lib/ (0x00002ae8210e8000) => /usr/lib/ (0x00002ae8211f9000) => /usr/lib/ (0x00002ae821303000) => /usr/lib/ (0x00002ae821405000) => /usr/lib/ (0x00002ae82150d000) => /usr/lib/ (0x00002ae821611000) => /usr/lib/ (0x00002ae82171b000) => /usr/lib/ (0x00002ae821821000) => /lib/ (0x00002ae821944000)
        /lib64/ (0x00002ae81e891000) => /usr/lib/ (0x00002ae821a4e000) => /usr/lib/ (0x00002ae821b70000) => /usr/lib/ (0x00002ae821c73000)
Gimp-user mailing list

Reply via email to