Article View: csu.unix.linux
Article #181Re: libjpeg
From: Michael Dwyer
Date: Mon, 13 Mar 2000 00:00
Date: Mon, 13 Mar 2000 00:00
43 lines
2426 bytes
2426 bytes
Bryan Kaiser <kaiser@cs.colostate.edu> wrote: : Ok, so I upgraded libjpeg from version 6.0.1-96 to 62 (6.0.2?) to get : mozilla to work correctly, but it's managed to break virtually all the : graphics utilities. For example, with both kview and xv, when I try to : load a jpeg, it gives me the error: : libjpeg version 62 found, expected 61 First of all, if this helps you or not, the command "ldd" will show you what dynamic links a program expects to make upon starting. That ought to help you a little. Secondly, if a library conforms to the whole major-minor-patchlevel thing, these problems shouldn't occur. Or at least, you could install both versions, and the programs would all work the way they wanted, whatever way they wanted. However, some people just don't do it... Grrr. <sigh> As a wonderful example, I have libjpeg.so.6.0.1 in the kde libs, and libjpeg.so.62.0.0 in /usr/lib. Oh, someone needs to die for that... Well, if nothing else, they /do/ have separate so numbers, so you should have no problems running them both... Oh, did you run "ldconfig" after you installed the new library? Options: Recompile kview and xv to use the newer libraries. Yeah, it is work, but you may win. BTW, xv stands on its own, but kview may possibly be a derivative of ImageMagick -- in which case, you'd have to update the imlib. Fun, eh? Again, ldd will help. Use shell-script wrappers to fill the LD_PRELOAD environment variable with the correct libjpg library before calling the bins. Its ugly, but it works. Your final option: Install Windows2000 and IE5. Haw haw... I kill myself... :) -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Michael J. Dwyer Digital Watches are a neat idea! mdwyer@holly.ColoState.edu http://WWW.CS.ColoState.EDU/~dwyer/ Computer Science Major Amateur Radio Tech N0ZAP
Technical Details
Message-ID:
<38cd9244@news.ColoState.EDU>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38CC5AA9.17B32E14@cs.colostate.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1159f7,dd998e5a70918058
X-Google-Attributes: gid1159f7,public
From: Michael Dwyer <mdwyer@holly.ColoState.EDU>
Subject: Re: libjpeg
Date: 2000/03/13
Message-ID: <38cd9244@news.ColoState.EDU>
X-Deja-AN: 597142267
References: <38CC5AA9.17B32E14@cs.colostate.edu>
X-Trace: 13 Mar 2000 18:13:40 -0700, holly.acns.colostate.edu
User-Agent: tin/pre-1.4-19990517 ("Psychonaut") (UNIX) (AIX/4-3)
Newsgroups: csu.unix.linux