On 16-Jun-98 Juergen Kreileder wrote:
>  Not necessarily.
>  
>  Try
>  strace -e trace=open java Iview Valetta.jpg
>  to see which libjpeg.so gets loaded. 
>  On my system there is a libjpeg.so in the jdk directory (this is 
>  the one that should get loaded) and there is a libjpeg.so in /usr/lib 
>  (which is the wrong library).
I only got this suggestion after I sent of my previous mail
(dialup obliges), but I can report now that this was indeed
the problem. There was a symlink to libjpeg.so.6.0.1 called
libjpeg.so on the PII, and this confused the loader. What I
don't get is why setting LD_LIBRARY_PATH to the java library
directory had no effect. Re-arranging ld.so.conf didn't work
either. 

Oh well, the vagaries of shared libraries ;-)

Many thanks, Jürgen and Albrecht. I can go back to something
more productive now.

Stefaan
-- 

PGP key available from PGP key servers (http://www.pgp.net/pgpnet/)
___________________________________________________________________
A consultant is a person who borrows your watch, tells you what
  time it is, pockets the watch, and sends you a bill for it.

Reply via email to