wine: could not load kernel32.dll, status c0000135
wine: could not load kernel32.dll, status c0000135
I get this msg when I try to load up Doom Eternal using Proton 5.09 or 5.13-1 using the command line.
[user@ws Proton 5.0]$ ./proton run '/home/user/.wine/drive_c/DE/DOOMEternalx64vk.exe'
esync: up and running.
wine: could not load kernel32.dll, status c0000135
It used to work up until now. Ive already reinstall wine, steam and DoomEternal w/o success. kernel32.dll is in the folders:
/home/user/.wine/drive_c/windows/system32/
/home/user/.steam/steam/steamapps/compatdata/323910/pfx/drive_c/windows/system32/
Thanks for your kind help and information in advance!
[user@ws Proton 5.0]$ ./proton run '/home/user/.wine/drive_c/DE/DOOMEternalx64vk.exe'
esync: up and running.
wine: could not load kernel32.dll, status c0000135
It used to work up until now. Ive already reinstall wine, steam and DoomEternal w/o success. kernel32.dll is in the folders:
/home/user/.wine/drive_c/windows/system32/
/home/user/.steam/steam/steamapps/compatdata/323910/pfx/drive_c/windows/system32/
Thanks for your kind help and information in advance!
Re: wine: could not load kernel32.dll, status c0000135
[laza@lazacenter ~]$ wine --version
wine-5.20 (Staging)
[laza@lazacenter ~]$ uname -r
5.8.16-300.fc33.x86_64
wine-5.20 (Staging)
[laza@lazacenter ~]$ uname -r
5.8.16-300.fc33.x86_64
Re: wine: could not load kernel32.dll, status c0000135
The strange thing is taht this problem started today, w/o prior tinkering with wine or steam on my behalf.
Re: wine: could not load kernel32.dll, status c0000135
Maybe its about file permissions? Since the files are there but couldn't be loaded. How can I make sure that my permissions are right for wine ?
Re: wine: could not load kernel32.dll, status c0000135
I'm having the same issue. Any luck after almost a year?
-
- Newbie
- Posts: 2
- Joined: Fri May 14, 2021 8:04 am
Re: wine: could not load kernel32.dll, status c0000135
I tried using the "sudo" command and it worked for me.
Re: wine: could not load kernel32.dll, status c0000135
Bro, you're a life saver!rubensneto96 wrote: ↑Fri May 14, 2021 8:07 am I tried using the "sudo" command and it worked for me.
Re: wine: could not load kernel32.dll, status c0000135
SOLUTION.
I had the same error message trying to run a setup.exe with wine to install a windows game on linux. As google led me here tracking down the error, I am leaving my solution in this thread.
In my case, the problem was that I had created a WINEPREFIX variable, but had forgotten to use the export command:
-> error could not load kernel32.dll ...
Reason: the WINEPREFIX variable is not accessible to subprocesses.
So my solution was:
using "export", the WINEPREFIX variable is accessible to subprocesses.
-> installation works smoothly.
Maybe the problem was similar here with proton. In any case I'd not recommend the "sudo" solution as it looks like an unsafe workaround for me.
Installing or playing games with wine/proton should usually not require admin privileges. Please remember that also games can be exploited to gain root level access to your computer.
I had the same error message trying to run a setup.exe with wine to install a windows game on linux. As google led me here tracking down the error, I am leaving my solution in this thread.
In my case, the problem was that I had created a WINEPREFIX variable, but had forgotten to use the export command:
Code: Select all
$ WINEPREFIX=~/gamefolder
$ wine setup.exe
Reason: the WINEPREFIX variable is not accessible to subprocesses.
So my solution was:
Code: Select all
$ export WINEPREFIX=~/gamefolder
$ wine setup.exe
-> installation works smoothly.
Maybe the problem was similar here with proton. In any case I'd not recommend the "sudo" solution as it looks like an unsafe workaround for me.
Installing or playing games with wine/proton should usually not require admin privileges. Please remember that also games can be exploited to gain root level access to your computer.