[kde-linux] JPEG 7 vs KDE-4.4 (DLL HELL comes to Linux?)

James Tyrer jrtyrer at earthlink.net
Fri Mar 12 10:41:06 UTC 2010


Duncan wrote:
> James Tyrer posted on Thu, 11 Mar 2010 14:01:21 -0700 as excerpted:
> 
>> James Tyrer wrote:
>>
>>> Wrong JPEG library version: library is 70, caller expects 62
>> This message appears to be coming from the JPEG library.  So, this
>> appears to be a bug.  If KDE functions require version 62, then the
>> build system needs to be able to link to it by version number.  I don't
>> have a lot of experience with CMake, so I don't know exactly how to do
>> this as I would with autotools.
> 
> I wonder... you said you didn't rebuild it all, only some, and have both 
> versions installed.  I wonder if you're getting both versions loaded and 
> fighting against each other, or if the first version loaded is trying to 
> be used where only the second will work?
> 
> FWIW, I have jpeg-8a installed here, build the system with --as-needed in 
> LDFLAGS and run lafilefixer --justfixit regularly after updates to fix the 
> stray la files that point to other la files, so the point to the libraries 
> directly (this so Gentoo can remove la files over time without the whole 
> house coming down on them), and thus only have perhaps a tenth the revdep-
> rebuild updates I'd have to do otherwise with such upgrades, and it works.
> 
If you Google the error message, you will see that there is a problem.
I checked my LA files and they don't specify a version number -- just
say "libjpeg.la".

BLFS has version 7, but I will try 8a and see if that fixes the problem.

-- 
James Tyrer

Linux (mostly) From Scratch



More information about the kde-linux mailing list