Lately, when I attempted to run some of my apps, they crashed with the following output. Code: Wrong JPEG library version: library is 62, caller expects 70 I run Gentoo Linux X64. A search for the appropriate package gives this: Code: * media-libs/jpeg Latest version available: 7 Latest version installed: 7 Size of files: 949 kB Homepage: http://jpegclub.org/ http://www.ijg.org/ Description: Library to load, handle and manipulate images in the JPEG format License: as-is I would like to know if this is a problem related to Wine or if this is a bug with the relevant library, and if there is a solution, what must I do. I use latest git. Thanks!
Bump. Still looking for help.
I did make clean, reconfigure and rebuild. I guess then that the issue would be related to Wine.
felix wrote:> On Tue, Aug 25, 2009 at 01:07:21AM -0500, vitamin wrote: > > > > > Das Letzte Einhorn wrote: > > > > > Wrong JPEG library version: library is 62, caller expects 70 > > > > > > > Wine doesn't have such message, must be some wrong libraries > > installed in your system. Check and make sure that 32-bit > > library version matches 64-bit. > > > > Have you run 'revdep-rebuild' to insure that any changes to libraries > when you last updated have filtered through to any other libraries built > against them? (i.e. this looks like a Gentoo specific problem) > > -- > Darragh > > "Nothing is foolproof to a sufficiently talented fool."Running revdep-rebuild found nothing wrong. I have also found a jpeg-compat package, which I installed: * media-libs/jpeg-compat Latest version available: 6b Latest version installed: 6b Size of files: 620 kB Homepage: http://www.ijg.org/ Description: Library to load, handle and manipulate images in the JPEG format (transition package) License: as-is Unfortunately, despite recompiling wine after installing the jpeg-compat package, I still get the wrong JPEG version message. Do you have other suggestions?
I have also reviewed some of the .configure "..." logs, and the libjpeg seems to be found: Code: checking for -ljpeg... libjpeg.so.62
I have: Code: * media-libs/jpeg Latest version available: 7 Latest version installed: 7 Size of files: 949 kB Homepage: http://jpegclub.org/ http://www.ijg.org/ Description: Library to load, handle and manipulate images in the JPEG format License: as-is * media-libs/jpeg-compat Latest version available: 6b Latest version installed: 6b Size of files: 620 kB Homepage: http://www.ijg.org/ Description: Library to load, handle and manipulate images in the JPEG format (transition package) License: as-is installed. Technically, if the jpeg-compat works like the emul-x86* packages, the identified library should be jpeg-compat. What I could also try is to remove jpeg-compat and downgrade the jpeg library.
On Tue, Aug 25, 2009 at 11:07 AM, Das Letzte Einhorn<wineforum-user at winehq.org> wrote:> I have: > > > Code: > * ?media-libs/jpeg > ? ? ?Latest version available: 7 > ? ? ?Latest version installed: 7 > ? ? ?Size of files: 949 kB > ? ? ?Homepage: ? ? ?http://jpegclub.org/ http://www.ijg.org/ > ? ? ?Description: ? Library to load, handle and manipulate images in the JPEG format > ? ? ?License: ? ? ? as-is > > * ?media-libs/jpeg-compat > ? ? ?Latest version available: 6b > ? ? ?Latest version installed: 6b > ? ? ?Size of files: 620 kB > ? ? ?Homepage: ? ? ?http://www.ijg.org/ > ? ? ?Description: ? Library to load, handle and manipulate images in the JPEG format (transition package) > ? ? ?License: ? ? ? as-is > > > > installed. Technically, if the jpeg-compat works like the emul-x86* packages, the identified library should be jpeg-compat. What I could also try is to remove jpeg-compat and downgrade the jpeg library. >I only have the stable jpeg installed in x64. jmd0 ~ # equery l jpeg * Searching for jpeg ... [IP-] [ ] media-libs/jpeg-6b-r8 (0) I can try installing jpeg-compat and see if wine-1.1.28 compiles with the jpeg use flag if you want. John
On Tue, Aug 25, 2009 at 11:11 AM, John Drescher<drescherjm at gmail.com> wrote:> On Tue, Aug 25, 2009 at 11:07 AM, Das Letzte > Einhorn<wineforum-user at winehq.org> wrote: >> I have: >> >> >> Code: >> * ?media-libs/jpeg >> ? ? ?Latest version available: 7 >> ? ? ?Latest version installed: 7 >> ? ? ?Size of files: 949 kB >> ? ? ?Homepage: ? ? ?http://jpegclub.org/ http://www.ijg.org/ >> ? ? ?Description: ? Library to load, handle and manipulate images in the JPEG format >> ? ? ?License: ? ? ? as-is >> >> * ?media-libs/jpeg-compat >> ? ? ?Latest version available: 6b >> ? ? ?Latest version installed: 6b >> ? ? ?Size of files: 620 kB >> ? ? ?Homepage: ? ? ?http://www.ijg.org/ >> ? ? ?Description: ? Library to load, handle and manipulate images in the JPEG format (transition package) >> ? ? ?License: ? ? ? as-is >> >> >> >> installed. Technically, if the jpeg-compat works like the emul-x86* packages, the identified library should be jpeg-compat. What I could also try is to remove jpeg-compat and downgrade the jpeg library. >> > > I only have the stable jpeg installed in x64. > > jmd0 ~ # equery l jpeg > ?* Searching for jpeg ... > [IP-] [ ?] media-libs/jpeg-6b-r8 (0) > > I can try installing jpeg-compat and see if wine-1.1.28 compiles with > the jpeg use flag if you want. >Hmm, this is weird. Its says I am using jpeg. * Found these USE flags for app-emulation/wine-1.1.28: U I + + X : Adds support for X11 + + alsa : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture) + + cups : Add support for CUPS (Common Unix Printing System) - - dbus : Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) - - esd : Adds support for media-sound/esound (Enlightened Sound Daemon) + + gecko : <unknown> - - gnutls : Adds support for net-libs/gnutls (TLS 1.0 and SSL 3.0 support) - - hal : Enable Hardware Abstraction Layer (HAL) support - - jack : Adds support for the JACK Audio Connection Kit + + jpeg : Adds JPEG image support - - lcms : Adds lcms support (color management engine) - - ldap : Adds LDAP support (Lightweight Directory Access Protocol) - - nas : Adds support for network audio sound + + ncurses : Adds ncurses support (console display library) + + opengl : Adds support for OpenGL (3D graphics) - - oss : Adds support for OSS (Open Sound System) + + png : Adds support for libpng (PNG images) - - samba : Adds support for SAMBA (Windows File and Printer sharing) - - scanner : Adds support for scanner hardware (e.g. build the sane frontend in kdegraphics) + + ssl : Adds support for Secure Socket Layer connections - - win64 : <unknown> + + wine-iocp-fix-race : <unknown> - - wine-iocp-off : <unknown> - - xcomposite : Enable support for the Xorg composite extension - - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors + + xml : Add support for XML files And I am running x86_64 jmd0 ~ # uname -a Linux jmd0.comcast.net 2.6.27.21-openvz-ext4-00011-g36d3faf-dirty #29 SMP Sat Aug 22 01:12:45 EDT 2009 x86_64 Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz GenuineIntel GNU/Linux
I use git and the gentoo guidelines for X64 here : http://wiki.winehq.org/WineOn64bit#head-7f9ba30a115acb6bc6feef3ee48cd06e91d44519 . Downgrading breaks most of my system, therefore I would prefer attempting to find a solution with the latest jpeg library and the compat package.
John Drescher wrote:> On Tue, Aug 25, 2009 at 12:15 PM, Vincent > Povirk<madewokherd+8cd9 at gmail.com> wrote: > > > On Tue, Aug 25, 2009 at 10:26 AM, Das Letzte > > Einhorn<wineforum-user at winehq.org> wrote: > > > > > I use git and the gentoo guidelines for X64 here : http://wiki.winehq.org/WineOn64bit#head-7f9ba30a115acb6bc6feef3ee48cd06e91d44519 . Downgrading breaks most of my system, therefore I would prefer attempting to find a solution with the latest jpeg library and the compat package. > > > > > > > I can't find any evidence that jpeg-compat is meant for 32-bit compatibility. > > > > From the ebuild (not that I'm particularly good at reading those), it > > doesn't appear to install any headers. And without headers, Wine > > certainly can't link to it properly. > > > > > I suspect the problem is the headers are installed from the 64 bit > jpeg-7 package and the compat package is jpeg-6. > > The interesting thing is I just found a solution (to the emul-libs > problems) that should solve this issue as well. > > http://forums.gentoo.org/viewtopic-t-774035-highlight-.html > > JohnI am not sure to understand the solution you are suggesting me to try. Are you referring to the multilib USE flag?
Doing this at the moment.. I assume that I will have to recompile Wine afterwards. I usually type in these two lines to compile Wine: Code: ./configure --x-libraries=/emul/linux/x86/usr/lib/ LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib" make && ./wine --version; Will they change? Thanks for your help John!
On Tue, Aug 25, 2009 at 1:48 PM, Das Letzte Einhorn<wineforum-user at winehq.org> wrote:> Doing this at the moment.. > > I assume that I will have to recompile Wine afterwards. I usually type in these two lines to compile Wine: > > > Code: > ./configure --x-libraries=/emul/linux/x86/usr/lib/ LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib" > make && ./wine --version; > > > > > Will they change? >Yes. It will not be /emul/linux/x86. Probably /lib32 John
Attempting to use the ebuilds from the multilib overlay almost destroyed my system. Way too many circular dependencies and stuff which apparently was necessary for the system to boot were conflicting (acl and attr for example). I will avoid taking that direction. Do you have a different suggestion for a workaround?
On Tue, Aug 25, 2009 at 3:49 PM, Das Letzte Einhorn<wineforum-user at winehq.org> wrote:> Attempting to use the ebuilds from the multilib overlay almost destroyed my system. Way too many circular dependencies and stuff which apparently was necessary for the system to boot were conflicting (acl and attr for example). I will avoid taking that direction. Do you have a different suggestion for a workaround? >You could try building just the jpeg package for that overlay with the lib32 use flag. John