[long post] Compiling gthumb with RAW support or why is it looking in all the wrong places

Felix 'buebo' Kakrow spam at buebo.de
Mon Mar 23 12:28:07 UTC 2009


Hello,
sorry if this is not related to ubuntu at all but I'm not quite sure
where to put this...

I've compiled gthumb with RAW support to manage my image
collection. It all works but for some reason that I don't understand
gthumb looks for it's libary not in /usr/local/ but everywhere else.

What I have done is fetched libopenraw and gthumb source and build
it with the usual threestep of './configure (--enable-libopenraw)
--prefix=/usr/local', 'make' and 'sudo checkinstall --fstrans=no' which
went fine.

So far so good, but when I try to start gthumb it errors out: 

mfk at sysiphus:~/src/gthumb-2.10.11$ gthumb 
gthumb: error while loading shared libraries: libgthumb.so: cannot open
shared object file: No such file or directory

'strace gthumb' shows that gthumb is looking for libgthumb in all the
wrong places:

(...)
stat("/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0 open
("/usr/lib/x86_64-linux-gnu/tls/x86_64/libgthumb.so", O_RDONLY) = -1
ENOENT (No such file or directory) stat
("/usr/lib/x86_64-linux-gnu/tls/x86_64", 0x7fff5161f1f0) = -1 ENOENT
(No such file or directory) open
("/usr/lib/x86_64-linux-gnu/tls/libgthumb.so", O_RDONLY) = -1 ENOENT
(No such file or directory) stat("/usr/lib/x86_64-linux-gnu/tls",
0x7fff5161f1f0) = -1 ENOENT (No such file or directory) open
("/usr/lib/x86_64-linux-gnu/x86_64/libgthumb.so", O_RDONLY) = -1 ENOENT
(No such file or directory) stat("/usr/lib/x86_64-linux-gnu/x86_64",
0x7fff5161f1f0) = -1 ENOENT (No such file or directory) open
("/usr/lib/x86_64-linux-gnu/libgthumb.so", O_RDONLY) = -1 ENOENT (No
such file or directory) stat("/usr/lib/x86_64-linux-gnu",
{st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

After linking /usr/local/lib/libgthumb.so
to /usr/lib/x86_64-linux-gnu/libgthumb.so it all went fine.

So, is this a bug in gthumb or just something I misunderstood?

Cheers
Felix

-- 
Felix 'buebo' Kakrow <spam at buebo.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090323/8b351d38/attachment.sig>


More information about the ubuntu-users mailing list