Wine - Wine cannot find the libjpeg.so.8 library

Questions about Wine on Linux
Locked
kikim
Level 1
Level 1
Posts: 6
Joined: Fri Oct 16, 2015 10:51 am

Wine - Wine cannot find the libjpeg.so.8 library

Post by kikim »

Hi

I have problem start Konfigurator.exe in wine

http://www.fronius.com/cps/rde/xbcr/fro ... apshot.zip
$ ./Konfigurator.exe
err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.8

fixme:ole:CoCreateInstance no instance created for interface {9edde9e7-8dee-47ea-99df-e6faf2ed44bf} of class {9456a480-e88b-43ea-9e73-0b2d9b71b1ca}, hres is 0x80004005
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
at System.Drawing.TextureBrush..ctor (System.Drawing.Image image, WrapMode wrapMode) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.TextureBrush:.ctor (System.Drawing.Image,System.Drawing.Drawing2D.WrapMode)
at System.Windows.Forms.Control.DrawBackgroundImage (System.Drawing.Graphics g) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.PaintControlBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.OnPaintBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ScrollableControl.OnPaintBackground (System.Windows.Forms.PaintEventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0
$ locate libjpeg.so.8

/usr/lib64/libjpeg.so.8
/usr/lib64/libjpeg.so.8.0.2
I have Pclos 64bit - Kde
- Wine :1.62
$ /bin/rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' | grep wine
wine-launcher-creator-1.0.8-2pclos2015.noarch.rpm
wine-gecko-2.21-1pclos2013.noarch.rpm
wine64-1.6.2-3pclos2014.x86_64.rpm
q4wine-1.1-0.r2.1kikim2015.x86_64.rpm
winetricks-20150810-1pclos2015.noarch.rpm
wine32-1.6.2-3pclos2014.i586.rpm
link to discussion on pclos forum
http://www.pclinuxos.com/forum/index.ph ... 487.0.html

- any help - please
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by dimesio »

You are missing 32 bit libjpeg.so.8. Your Wine version is also old; upgrade to the latest development release.
kikim
Level 1
Level 1
Posts: 6
Joined: Fri Oct 16, 2015 10:51 am

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by kikim »

ok. now i have no this error - but I have another - for example (No such file or directory):

Very strange situation. The Same version of wine - 1.6.2
- in PlayOnLinux I have start program but in system wine I can't
What I doing wrong

ps.

I added two file to post but I don't see it
- strace-system.tar.xz - system wine
- strace-PlayOnLinux.tar.xz -PlayOnLinux wine
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by dimesio »

kikim wrote:ok. now i have no this error - but I have another - for example (No such file or directory):
What is the command you used to run it?
Very strange situation. The Same version of wine - 1.6.2
You still need to upgrade. The current development release is 1.7.53.
I added two file to post but I don't see it
- strace-system.tar.xz - system wine
- strace-PlayOnLinux.tar.xz -PlayOnLinux wine
There are no files attached to your post.
kikim
Level 1
Level 1
Posts: 6
Joined: Fri Oct 16, 2015 10:51 am

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by kikim »

dimesio wrote:What is the command you used to run it?
1 -:PlayOnLinux - wine

Code: Select all

$ $HOME/.PlayOnLinux/wine/linux-x86/1.6.2/bin/wine --version && strace -e open env WINEPREFIX="$HOME/.PlayOnLinux/wineprefix/32b" $HOME/.PlayOnLinux/wine/linux-x86/1.6.2/bin/wine '$HOME/.wine/drive_c/Program Files (x86)/Fronius Austria/Solar.configurator/Konfigurator.exe'
program working

2:

Code: Select all

system wine
$ wine --version && strace -e open env WINEPREFIX="$HOME/.wine" /usr/bin/wine '$HOME/.wine/drive_c/Program Files (x86)/Fronius Austria/Solar.configurator/Konfigurator.exe'
program not working

I want add file to post but I can't - why?

therefore?
faq.php?sid=96528cab04feb7b56a97775ace2 ... 65a08#f2r7

I want add .txt files or tar.xz
FAQ - How do I find all my attachments?
faq.php?sid=96528cab04feb7b56a97775ace2 ... 65a08#f9r1

no any attachment - on my account
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by dimesio »

You can't attach files with a .txt extension. Attach the output from 1.7.53 (vanilla Wine, not POL) as a plain text file with no extension, or if it's not too long, simply paste it into the body of a post.
kikim
Level 1
Level 1
Posts: 6
Joined: Fri Oct 16, 2015 10:51 am

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by kikim »

dimesio wrote:...... Attach the output from 1.7.53 (vanilla Wine, not POL) as a plain text file with no extension, or if it's not too long, simply paste it into the body of a post.
Ok - if will be in Pclos repository - now only 1.6.2 - latest most a stable release
1.7.53 - is development
kikim
Level 1
Level 1
Posts: 6
Joined: Fri Oct 16, 2015 10:51 am

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by kikim »

On kubuntu 15.04 fully updated
$ /usr/bin/wine --version && env WINEPREFIX="$HOME/.wine" /usr/bin/wine '$HOME/.wine/drive_c/Program Files (x86)/Fronius Austria/Solar.configurator/Konfigurator.exe'
wine-1.7.50
err:menubuilder:init_xdg error looking up the desktop directory
fixme:ole:RemUnknown_QueryInterface No interface for iid {00000019-0000-0000-c000-000000000046}
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1445d4,0x13ed70): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x195784,0x18f2d0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x19665c,0x18f2d0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x197534,0x18f2d0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x19840c,0x18f2d0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1992e4,0x18f2d0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x19a1bc,0x196130): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1d82bc,0x1650c0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x143414,0x1650c0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x12e6d4,0x1391b0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x12fd04,0x1d6108): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1dde8c,0x157b80): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x12d11c,0x157b80): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1e02b4,0x157b80): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1df2a4,0xe08a808): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe09246c,0x13c5e8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x1ebc44,0x1dda18): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe096e74,0x1dda18): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe0998fc,0x131010): stub
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe0f64f4,0xe0f33b8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe08d3e4,0xdfe2580): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe08deb4,0xe0ae6b8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe0b1234,0xe0ae6b8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe091404,0x1c7af8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe0b4114,0x1c7af8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe0fd41c,0x1c7af8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe0fe2f4,0xe0fcfc8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe0ffd2c,0xe0fcfc8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe101764,0xe0fcfc8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe102d94,0xe0fcfc8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe10484c,0xe0fcfc8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe106284,0xe0fcfc8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe10b644,0xe0ae0c0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xdfe39ec,0xe0ae0c0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe0b940c,0xe092430): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe144e44,0xe118e48): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe1ae634,0xe13a100): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x10a02004,0x10a01fc0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe1d111c,0xe1d10d8): stub
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:gdiplus:GdipGetLineSpacing ignoring style
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe10e92c,0xe0b3448): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe10f3fc,0xe0b3448): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe1d974c,0xe0b3448): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x10b2ac3c,0x10b2b3a0): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0xe1f360c,0x10b2bde8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x10b09ea4,0x10b2bde8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x10b2f724,0x10b2bde8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x10b301f4,0x10b2bde8): stub
fixme:wincodecs:JpegDecoder_Frame_CopyPalette (0x10b41754,0x10b2bde8): stub

Unhandled Exception:
System.IndexOutOfRangeException: There is no row at position 74.
at System.Data.DataRowCollection.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.KonfiguratorPC+WetterDBDataTable.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.BasicConfigAlg.GetValues (MyTypes.CalcSingleInverterStruct& values, KonfiguratorOberflaeche.Classes.Inverterparams wrParam, Int32 iInvId, Boolean bForSingleInv, KonfiguratorOberflaeche.KonfiguratorPC dsConfigurator, KonfiguratorOberflaeche.AnlageDim form, UInt32 uiIrrPc, Single cosphi) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.AnlageDim.CreateInverterCombinationsArray (System.Collections.ArrayList[]& combinations) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.AnlageDim.SetCfgData (UInt32 uiInStatus, System.String strInSWRName, System.String strInModManufacturer, System.String strInModuleName, System.String strInCountry, System.String strInCity, UInt32 uiInMountIndex, UInt32 uiInDiffSouthIndex, UInt32 uiInAzimutIndex, UInt32 uiInSingleInvSelMod, UInt32 uiInSingleInvSelStr, UInt32 uiInMultiInvNumModules, UInt32 uiInMultiNumComb, System.String strInC1Name, UInt32 uiInC1NumInv, UInt32 uiInC1NumMod, UInt32 uiInC1NumStr, System.String strInC2Name, UInt32 uiInC2NumInv, UInt32 uiInC2NumMod, UInt32 uiInC2NumStr, System.String strInC3Name, UInt32 uiInC3NumInv, UInt32 uiInC3NumMod, UInt32 uiInC3NumStr, System.String[] InLargeCheckedWRs, Boolean bLocalIsDualMpp, Int32 iNumStrMpp2, Int32 iNumModMpp2, Boolean bLocalIsHybrid, UInt32 uiLocalEnergyDemand, Boolean bLocalIsFamily, UInt32 uiLocalSelectedStorage) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) KonfiguratorOberflaeche.AnlageDim:SetCfgData (uint,string,string,string,string,string,uint,uint,uint,uint,uint,uint,uint,string,uint,uint,uint,string,uint,uint,uint,string,uint,uint,uint,string[],bool,int,int,bool,uint,bool,uint)
at KonfiguratorOberflaeche.Form1.MyInternalLoad (KonfiguratorOberflaeche.CfgInfos cfgi, Boolean bResetStatus) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.Form1.MyLoad (System.IO.Stream stream, Boolean bResetStatus) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.Form1..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) KonfiguratorOberflaeche.Form1:.ctor ()
at KonfiguratorOberflaeche.Form1.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: There is no row at position 74.
at System.Data.DataRowCollection.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.KonfiguratorPC+WetterDBDataTable.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.BasicConfigAlg.GetValues (MyTypes.CalcSingleInverterStruct& values, KonfiguratorOberflaeche.Classes.Inverterparams wrParam, Int32 iInvId, Boolean bForSingleInv, KonfiguratorOberflaeche.KonfiguratorPC dsConfigurator, KonfiguratorOberflaeche.AnlageDim form, UInt32 uiIrrPc, Single cosphi) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.AnlageDim.CreateInverterCombinationsArray (System.Collections.ArrayList[]& combinations) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.AnlageDim.SetCfgData (UInt32 uiInStatus, System.String strInSWRName, System.String strInModManufacturer, System.String strInModuleName, System.String strInCountry, System.String strInCity, UInt32 uiInMountIndex, UInt32 uiInDiffSouthIndex, UInt32 uiInAzimutIndex, UInt32 uiInSingleInvSelMod, UInt32 uiInSingleInvSelStr, UInt32 uiInMultiInvNumModules, UInt32 uiInMultiNumComb, System.String strInC1Name, UInt32 uiInC1NumInv, UInt32 uiInC1NumMod, UInt32 uiInC1NumStr, System.String strInC2Name, UInt32 uiInC2NumInv, UInt32 uiInC2NumMod, UInt32 uiInC2NumStr, System.String strInC3Name, UInt32 uiInC3NumInv, UInt32 uiInC3NumMod, UInt32 uiInC3NumStr, System.String[] InLargeCheckedWRs, Boolean bLocalIsDualMpp, Int32 iNumStrMpp2, Int32 iNumModMpp2, Boolean bLocalIsHybrid, UInt32 uiLocalEnergyDemand, Boolean bLocalIsFamily, UInt32 uiLocalSelectedStorage) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) KonfiguratorOberflaeche.AnlageDim:SetCfgData (uint,string,string,string,string,string,uint,uint,uint,uint,uint,uint,uint,string,uint,uint,uint,string,uint,uint,uint,string,uint,uint,uint,string[],bool,int,int,bool,uint,bool,uint)
at KonfiguratorOberflaeche.Form1.MyInternalLoad (KonfiguratorOberflaeche.CfgInfos cfgi, Boolean bResetStatus) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.Form1.MyLoad (System.IO.Stream stream, Boolean bResetStatus) [0x00000] in <filename unknown>:0
at KonfiguratorOberflaeche.Form1..ctor () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) KonfiguratorOberflaeche.Form1:.ctor ()
at KonfiguratorOberflaeche.Form1.Main (System.String[] args) [0x00000] in <filename unknown>:0
- the same as on wine 1.6.2
The program does not start - only license window shows up.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by dimesio »

Try installing whatever version of .NET this app requires.
kikim
Level 1
Level 1
Posts: 6
Joined: Fri Oct 16, 2015 10:51 am

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by kikim »

dimesio wrote:Try installing whatever version of .NET this app requires.
I have installed .net2.0 from https://appdb.winehq.org/appview.php?iVersionId=3754
This program requires net 2.0
---------
I install Kubuntu 32bit.
- wine 1.62
I can run this program.

question is:
- why I can't run this program on 64bit platforms?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine - Wine cannot find the libjpeg.so.8 library

Post by dimesio »

Wine-mono is apparently insufficient for this app and winetricks doesn't support installing native .NET in a 64 bit wineprefix.
Locked