Can't fix "missing library" problem

Questions about Wine on Linux
Locked
AntonB
Newbie
Newbie
Posts: 1
Joined: Mon Nov 18, 2013 12:31 pm

Can't fix "missing library" problem

Post by AntonB »

I am trying to install this game on my Linux with Wine:
http://www.odysseyreborn.com/downloads.html

I will describe the steps that I followed, maybe somebody will be able to point out what I'm doing wrong. Sorry for long pastes, I hope it will help to figure what's going on.

I have 64-bit Crunchbang Linux

Code: Select all

uname -a
Linux crunchbang 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
I install Wine from standard Debian repositories, it comes with version 1.4.1

Code: Select all

sudo apt-get install wine
...
wine --version
wine-1.4.1
Then I run "winecfg" once to have all folders set up. There are bunch of error messages, but config GUI shows up and I can run "wine notepad" after that.

Code: Select all

winecfg
wine: created the configuration directory '/home/anton/.wine'
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
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:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:iphlpapi:NotifyAddrChange (Handle 0xebe92c, overlapped 0xebe910): stub
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
wine: configuration in '/home/anton/.wine' has been updated.
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
Installing game client. Errors again, but setup finishes.

Code: Select all

wine ./OdysseyRebornInstall.exe 
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:shell:SHAutoComplete stub
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\windows\\system32\\vbalIml6.ocx") not found
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\windows\\system32\\vbaListView6.ocx") not found
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\windows\\system32\\SSubTmr6.dll") not found
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\windows\\system32\\SCIVBX.OCX") not found
err:module:import_dll Library MSJINT35.dll (which is needed by L"C:\\windows\\system32\\MSJTER35.DLL") not found
After this installation a new file "VBRun60.exe" is created in the folder with game installer, I run this as well (bunch of errors again).

Code: Select all

wine ./VBRun60.exe 
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:setupapi:SetupDefaultQueueCallbackW notification 262144 params 33f67c,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\users\\anton\\Temp\\IXP000.TMP\\OLEAUT32.DLL" -> L"C:\\windows\\system32\\OLEAUT32.DLL"
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 33f67c,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\users\\anton\\Temp\\IXP000.TMP\\OLEPRO32.DLL" -> L"C:\\windows\\system32\\OLEPRO32.DLL"
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 33f67c,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\users\\anton\\Temp\\IXP000.TMP\\STDOLE2.TLB" -> L"C:\\windows\\system32\\STDOLE2.TLB"
fixme:setupapi:SetupDefaultQueueCallbackW notification 262144 params 33f67c,0
err:setupapi:SetupDefaultQueueCallbackW copy error 0 L"C:\\users\\anton\\Temp\\IXP000.TMP\\COMCAT.DLL" -> L"C:\\windows\\system32\\COMCAT.DLL"
fixme:ole:DllRegisterServer stub
Finally, trying to run application:

Code: Select all

wine "c:\program files\odyssey reborn\odyssey.exe"
err:module:import_dll Library WLDAP32.dll (which is needed by L"C:\\program files\\odyssey reborn\\libcurl.dll") not found
err:module:import_dll Library libcurl.dll (which is needed by L"C:\\program files\\odyssey reborn\\odyssey.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\program files\\odyssey reborn\\odyssey.exe" failed, status c0000135
"libcurl.dll" is in game folder. I downloaded "wldap32.dll" and put it into "/home/anton/.wine/drive_c/windows/system32". Then I added "libcur" and "wldap32" to library override list in winecfg with (native,builtin).

Then I start getting one more error when I launch "odyssey.exe":

Code: Select all

err:module:import_dll Library API-MS-Win-Core-LocalRegistry-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\WLDAP32.dll") not found
I downloaded that DLL too and added it to "/home/anton/.wine/drive_c/windows/system32". Then whether I add it to overrides list or not, i get the same error:

Code: Select all

err:module:import_dll Loading library API-MS-Win-Core-LocalRegistry-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\WLDAP32.dll") failed (error c000007b).
I am stuck here.

I never used Wine before, and I am quite new with Linux. Any help will be greatly appreciated. Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't fix "missing library" problem

Post by dimesio »

Your Wine version is old. Upgrade to at least 1.6.1 and reinstall the game to a clean wineprefix. If it still needs vb6run, use winetricks to install it.
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: Can't fix "missing library" problem

Post by oiaohm »

dimesio I am surprised you missed a bit.
Linux crunchbang 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
WINEARCH=win32 will be required when you create your WINEPREFIX AntonB.

WINEPREFIX default location is ~/.wine
WINEARCH=win32 only works when the WINEPREFIX is being created from nothing.

Winetricks parts require a win32 wine prefix. This might be some of the problem. 64 bit wine prefixes can bring out some odd bugs.
Locked