general/other Wine: could not load kernell32.dll status c00000135

I have installed Wine 64 bits and after that the script installing wine X86.
64 bits programs run smoothly but 32 bit does not work.
Gives such an error like the title above.
Any solution to this issue?
 
I would try to delete the existing wine prefix in your home directory and create a new. Another option: did you install 32-bit compatibility libraries in FreeBSD?
 
This worked for me 14.2-R-p3 (2 weeks ago) and 14.3-B3, but I recall something on 14.3 with winetricks not loading a GUI (32-bit games still ran):

Code:
su -
Code:
pkg install wine-devel wine-gecko-devel wine-mono-devel winetricks

Normal user (gstreamer stuff is nice for things that might need it like TES Oblivion):
Code:
'/usr/local/share/wine/pkg32.sh' install wine-devel mesa-dri gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-libav libressl
Start prefixes with WINEARCH='win32'. At FreeBSD install-time there's a lib32 option you might need too.



Here's quick commands for osu! (tests 32-bit, OpenGL, and online/SSL):
Code:
WINEPREFIX=~/'.wine/osu!' WINEARCH='win32' winetricks -q 'dotnet48' 'gdiplus'
Code:
wget -O ~/'Downloads/osu!install.exe' 'https://m1.ppy.sh/r/osu!install.exe' && WINEPREFIX=~/'.wine/osu!' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'Downloads/osu!install.exe'

Later launch after install:
Code:
cd ~/'.wine/osu!/drive_c/users/'$USER'/AppData/Local/osu!' && WINEPREFIX=~/'.wine/osu!' wine ~/'.wine/osu!/drive_c/users/'$USER'/AppData/Local/osu!/osu!.exe'
 
This worked for me 14.2-R-p3 (2 weeks ago) and 14.3-B3, but I recall something on 14.3 with winetricks not loading a GUI (32-bit games still ran):

Code:
su -
Code:
pkg install wine-devel wine-gecko-devel wine-mono-devel winetricks

Normal user (gstreamer stuff is nice for things that might need it like TES Oblivion):
Code:
'/usr/local/share/wine/pkg32.sh' install wine-devel mesa-dri gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-libav libressl
Start prefixes with WINEARCH='win32'. At FreeBSD install-time there's a lib32 option you might need too.



Here's quick commands for osu! (tests 32-bit, OpenGL, and online/SSL):
Code:
WINEPREFIX=~/'.wine/osu!' WINEARCH='win32' winetricks -q 'dotnet48' 'gdiplus'
Code:
wget -O ~/'Downloads/osu!install.exe' 'https://m1.ppy.sh/r/osu!install.exe' && WINEPREFIX=~/'.wine/osu!' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'Downloads/osu!install.exe'

Later launch after install:
Code:
cd ~/'.wine/osu!/drive_c/users/'$USER'/AppData/Local/osu!' && WINEPREFIX=~/'.wine/osu!' wine ~/'.wine/osu!/drive_c/users/'$USER'/AppData/Local/osu!/osu!.exe'
Interesting...
root@Raul:~ # pkg install wine-devel wine-gecko-devel wine-mono-devel winetricks
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'wine-devel' have been found in the repositories
pkg: No packages available to install matching 'wine-gecko-devel' have been found in the repositories
pkg: No packages available to install matching 'wine-mono-devel' have been found in the repositories
pkg: No packages available to intall matching 'winetricks' have been found in the repositories

I remember when wine was a good program, and I had everything included in the general menu of KDE. No problem at all. It was the age of KDE Trinity Desktop.
After that appeared Plasma, KDE4, KDE5, KDE6, and with each new release just more problems arises.
I cant understand, how could it be that in linux Q4OS wine is installed very soon, no problems, run 32 bit or 64 bit, no matter the program is running. KDE is a monster when each new release gives much problems.
Q4OS uses KDE Plasma but Trinity too, then there wine run perfectly.
 
Code:
'/usr/local/share/wine/pkg32.sh' install wine-devel mesa-dri gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-libav libressl

This code works.
 
Wine 64-bit and Wine 32-bit crashed, and both version are different, giving an error when trying to run a 32-bit program. I deleted all the system, it was a copy.
Working on a new copy I have installed Wine 32-bit using:

Code:
'/usr/local/share/wine/pkg32.sh' install wine-devel mesa-dri gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-libav libressl

Then ask me installing something else, I did it.

I used this code:

Code:
#! /bin/sh

wine WINEPREFIX='/home/raul/.i386-wine-pkg/' WINEARCH='win32' '/home/raul/.i386-wine-pkg/PA/PortableApps.com_Platform_Setup_30.0.2.paf'
exit 0

The console exit was:

Code:
raul@Raul:~/.i386-wine-pkg $ /bin/sh pa.sh
wine: created the configuration directory '/home/raul/.wine'
0024:fixme:ntdll:create_logical_proc_info stub
0024:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:ntdll:create_logical_proc_info stub
002c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0034:fixme:ntdll:create_logical_proc_info stub
0034:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0044:fixme:ntdll:create_logical_proc_info stub
0044:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0054:fixme:ntdll:create_logical_proc_info stub
004c:fixme:ntdll:create_logical_proc_info stub
004c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0054:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0054:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
004c:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
004c:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
004c:err:ole:apartment_get_local_server_stream Failed: 0x80004002
0054:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0054:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0054:err:ole:apartment_get_local_server_stream Failed: 0x80004002
004c:err:ole:start_rpcss Failed to open RpcSs service
0070:fixme:ntdll:create_logical_proc_info stub
0070:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0094:fixme:ntdll:create_logical_proc_info stub
0094:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0094:err:setupapi:SetupDefaultQueueCallbackW copy error 1812 L"@C:\\windows\\system32\\drivers\\wineusb.sys,-1" -> L"C:\\windows\\inf\\wineusb.inf"
009c:fixme:ntdll:create_logical_proc_info stub
009c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
009c:fixme:file:NtLockFile I/O completion on lock not implemented yet
009c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00a4:fixme:ntdll:create_logical_proc_info stub
00a4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00a4:fixme:file:NtLockFile I/O completion on lock not implemented yet
00a4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00ac:fixme:ntdll:create_logical_proc_info stub
00ac:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00b4:fixme:ntdll:create_logical_proc_info stub
00b4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00bc:fixme:ntdll:create_logical_proc_info stub
00bc:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00a4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
00a4:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
009c:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00c4:fixme:ntdll:create_logical_proc_info stub
00c4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00d4:fixme:ntdll:create_logical_proc_info stub
00d4:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
00ec:fixme:ntdll:create_logical_proc_info stub
00ec:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
010c:fixme:ntdll:create_logical_proc_info stub
010c:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
010c:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0024:err:environ:run_wineboot boot event wait timed out
wine: failed to open "WINEPREFIX=/home/raul/.i386-wine-pkg/": c0000135
raul@Raul:~/.i386-wine-pkg $ 0114:fixme:ntdll:create_logical_proc_info stub
0114:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
002c:err:setupapi:do_file_copyW Unsupported style(s) 0x10
0124:fixme:ntdll:create_logical_proc_info stub
0124:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0130:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c00000e5
002c:err:setupapi:SetupDiInstallDevice Failed to start service L"winebth" for device L"ROOT\\WINE\\WINEBTH", error 1359.
002c:err:setupapi:SetupDiInstallDevice Failed to control service L"winebth" for device L"ROOT\\WINE\\WINEBTH", error 1062.
002c:err:setupapi:do_file_copyW Unsupported style(s) 0x10
0148:fixme:ntdll:create_logical_proc_info stub
0148:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.
0158:err:setupapi:do_file_copyW Unsupported style(s) 0x10
0158:err:setupapi:do_file_copyW Unsupported style(s) 0x10
0188:fixme:ntdll:create_logical_proc_info stub
0188:fixme:ntdll:init_cpu_info Failed to get logical processor information, status 0xc0000002.

After that...

Code:
cd /home/raul/.i386-wine-pkg/PA/

Then right click on "PortableApps.com_Platform_Setup_30.0.2.paf.exe"

Option: "Open with Wine"

The program run all right, I have installed 46 applications. Most of them run perfectlly and appears a new entry in main menu:
Wine -> PortableApps.com Platform

I think is a good work now. I have many other application to be installed and test.
 
Well, I've been working for a long time installing wine 32-bits. Once everything's OK, suddenly all crashes.
A new copy the system and start again.
Installed wine 32-bits again and it was OK. Then installed some programs, all of them running very well, and all 32-bits.

But something rare appeared, I could to install a wine 64-bits program too without wine 64-bits installed.

Related with the issue...

could not load kernell32.dll status c00000135​


I just deleted .wine and install a program, this way updated the prefix en user/.wine
"
 
Back
Top