[kde-solaris] ye olde jpeg problem

Devendra Deshpande kde-solaris@mail.kde.org
Thu Mar 13 10:54:01 2003


On Wed, 12 Mar 2003 11:02:45 -0700 David Bishop <tech@bishop.dhs.org> wrote:

[ S N I P P E D ]

> The output of configure has something like 'yes, via imageio plugin' for 
> jpeg and mng, but just 'yes via system' for libpng (paraphrasing,).  Now, 
> png works great but jpeg and mng don't.  Oh, and I've put many of the 
> required libs into /usr/local/kde/lib for easy portability between 
> machines.  There *are* other copies of libjpeg laying around, but 
> /usr/local/kde/lib is the second thing in my LD_LIBRARY_PATH (behind
> qt) and it seems to be picked up readily enough. (Un)fortunetly, I've compiled
> everything from base libs to qt on up without debugging info at all, so there
> is no console output.  I can run truss on something though, if you think it's
> output would help.
> 
> Any ideas? At all?

Try running ldd on qt/plugins/imageformats/libqjpeg.so (you should see the
proper jpeg library in the output).

Also, do try truss, if I run truss:

$ truss kview b4.jpg 2>&1 | grep jpeg
lstat64("/usr/local/qt/plugins/imageformats/libqjpeg.so", 0x0009FD58) = 0
lstat64("/usr/local/qt/plugins/imageformats/libqjpeg.so", 0x0009EB00) = 0
open("/usr/local/qt/plugins/imageformats/libqjpeg.so", O_RDONLY) = 11
open("/usr/local/KDE/lib/libjpeg.so.62", O_RDONLY) Err#2 ENOENT
open("/usr/local/qt/lib/libjpeg.so.62", O_RDONLY) Err#2 ENOENT
open("/usr/local/kde-support-libs/lib/libjpeg.so.62", O_RDONLY) = 11
$

And I can see jpegs ...

Thanks,
Devendra