The forum

SC2 for POL on Unbuntu 12.04 fails

Author Replies
rynop Tuesday 27 March 2012 at 0:33
rynopAnonymous

I have SC2 running fine on POL for ubuntu 10.10 64 bit. When trying to install on 12.04 64 bit I get (running the network installer - NOT from the DVD):

03/26/12 09:36:33 - [POL_Wine] Message: Running wine-1.3.27 start /unix /home/ryan/Downloads/StarCraft_2_NA_en-US.exe
wine: cannot find L"C:\\\\windows\\\\system32\\\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\\\windows\\\\system32\\\\winemenubuilder.exe -a -r" (2)
03/26/12 09:36:33 - [POL_Wine] Message: Wine return: 0
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:process:GetLogicalProcessorInformation ((nil),0x33e388): stub
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (60000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 60000
err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62

I try running:
/usr/lib$ sudo ln -s /usr/lib/i386-linux-gnu/libjpeg.so.8 libjpeg.so.62

And then get:
open shared object file: No such file or directory
fixme:process:GetLogicalProcessorInformation ((nil),0x33e388): stub
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (60000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 60000
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
err:jpeg:error_exit_fn Wrong JPEG library version: library is 80, caller expects 62
err:ole:OleLoadPicture IPersistStream_Load failed

Is there a hard dependency on ver 6.2? If so is there a work around?
Ghil Saturday 21 April 2012 at 9:09
GhilAnonymous

Same thing for me. -_-
Black Light Thursday 26 April 2012 at 15:00
Black LightAnonymous

Same problem, this is my log (activating debugging mode)

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme: process:GetLogicalProcessorInformation ((nil),0x32c7ac): stub
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (2000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 2000
fixme: process:GetLogicalProcessorInformation ((nil),0x106c590): stub
fixme: process:GetLogicalProcessorInformation ((nil),0x106c57c): stub
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme: process:GetLogicalProcessorInformation ((nil),0x116e988): stub
fixme:ieframe: PersistStreamInit_Load (0x178c18)->(0x32de10)
fixme:ieframe:OleControl_FreezeEvents (0x178c18)->(1)
fixme:ieframe:OleControl_FreezeEvents (0x178c18)->(0)
fixme:advapi: ParseStringSidToSid String constant not supported: L"DU"
fixme:urlmon:URLMoniker_BindToObject use running object table
fixme:ieframe:BindStatusCallback_OnProgress status code 1
fixme:ieframe:BindStatusCallback_OnProgress status code 2
fixme:ieframe:BindStatusCallback_OnProgress status code 11
fixme:ieframe:BindStatusCallback_OnProgress status code 14
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\\\windows\\\\system32\\\\mshtml.dll"
err:ole:CoGetClassObject no class object {25336920-03f9-11cf-8fd0-00aa00686f13} could be created for context 0x3
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme: process:GetLogicalProcessorInformation ((nil),0x33e388): stub
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT (60000): STUB
fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 60000
err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62
fixme:ole:CoCreateInstance no instance created for interface {9edde9e7-8dee-47ea-99df-e6faf2ed44bf} of class {9456a480-e88b-43ea-9e73-0b2d9b71b1ca}, hres is 0x80004005
err:ole:OleLoadPicture IPersistStream_Load failed
fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (0x178c18)
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!

Edited by Black Light

petch Thursday 26 April 2012 at 16:04
petch

Could you try unstalling/reinstalling wine-1.3.27?
POL packages should now contain the libjpeg and libssl libraries they were compiled against, and solve the issue.
Meldrak Friday 15 June 2012 at 11:03
Meldrak

Same issue for me

I was on Ubuntu 10.04 before and SC2 was working fine
I upgraded to 12.04 and now I have the same errors ....

p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so

I resolved this first one by installing getlibs:

wget https://launchpad.net/~jcollins/+archive/jaminppa/+build/1482994/+files/getlibs_2.06-0ubuntu1%7Eppa2_all.deb
sudo dpkg -i getlibs_2.06-0ubuntu1~ppa2_all.deb
getlibs -p gnome-keyring:i386
mkdir /usr/lib/i386-linux-gnu/pkcs11/
sudo ln -s /usr/lib32/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
echo 0|sudo tee /proc/sys/kernel/yama/ptrace_scope


but I still have this error:
err:wincodecs:JpegDecoder_CreateInstance Failed reading JPEG because unable to find libjpeg.so.62

and this lib is alraedy installed and present in /usr/lib and in /.PlayOnLinux/wine/linux-amd64/1.3.27/lib

I didn't find any solution for this last error .... I hope someone could help me !!!
Meldrak Friday 15 June 2012 at 20:52
Meldrak

finally I found the solution, like pkcs11 you must have 32 bits library for libjpeg62
so add it and makethe link (must have getlibs installed -> see previous post)

getlibs -p libjpeg62:i386
sudo ln -s /usr/lib32/i386-linux-gnu/libjpeg.so.62 /usr/lib/libjpeg.so.62
sudo ln -s /usr/lib32/i386-linux-gnu/libjpeg.so.62.0.0 /usr/lib/libjpeg.so.62.0.0

now Starcraft2 is working fine on my Ubuntu 12.04 64bits

Edited by Meldrak

Quentin PÂRIS Friday 15 June 2012 at 21:25
Quentin PÂRISAnonymous

Please speak english on english forum
Meldrak Friday 15 June 2012 at 21:33
Meldrak

oops I reply too quickly ... :-) post is now edited in english
vtgaspar Tuesday 26 June 2012 at 16:17
vtgasparAnonymous


Tnks Meldrak! your solution did the work here...
I got same error on ubuntu 12.04 amd64. To install libjpeg62 32bit i just:

sudo apt-get install libjpeg62:i386

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com