[Bug 59043] New: Error wine: could not load kernel32.dll
http://bugs.winehq.org/show_bug.cgi?id=59043 Bug ID: 59043 Summary: Error wine: could not load kernel32.dll Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)list.winehq.org Reporter: winehq(a)hadrian-way.co.uk Distribution: --- Created attachment 79809 --> http://bugs.winehq.org/attachment.cgi?id=79809 Shell output of attemting to launch Memory Map I have used Wine for many years and have previously contributed to WineHQ with test reports for Memory Map. Owing to an unrelated problem, I had to resort to a clean installation of Kubuntu 24.04. Related facts: 1. I had earlier upgraded to Kubuntu 25.10. 2. My /home directory is on a separate partition and was not overwritten. 3. This is a 64 Bit Dell Optiplex 790. 3. On restoration to 24.04, everything worked except wine (see attachment). I vaguely remember seeing this before, (some years ago), but cannot remember what I did. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Hello Terry, after reinstalling 24.04, have you enabled the i386 packages before installing wine? Something like (for the ubuntu packages): dpkg --add-architecture i386 apt install wine wine32 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #2 from Terry Coles <winehq(a)hadrian-way.co.uk> --- I didn't do that, but I just did after first uninstalling wine and attempting to uninstall the i386 architecture. I got: sudo dpkg --remove-architecture i386 [sudo] password for terry: dpkg: error: cannot remove architecture 'i386' currently in use by the database This was after a reboot. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #3 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- (In reply to Terry Coles from comment #2)
I didn't do that, but I just did after first uninstalling wine and attempting to uninstall the i386 architecture. I got:
sudo dpkg --remove-architecture i386 [sudo] password for terry: dpkg: error: cannot remove architecture 'i386' currently in use by the database
Sounds like there are still i386 packages installed. But removing the architecture seems not needed, if you want to reinstall wine packages it should be sufficient to just uninstall the wine packages, but I am not sure what you are trying to accomplish with it. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #4 from Terry Coles <winehq(a)hadrian-way.co.uk> --- Bernhard, I was trying to follow your instructions: 'after reinstalling 24.04, have you enabled the i386 packages before installing wine?' wine was already installed, so I uninstalled it and ran the add-architecture command that you suggested. When that didn't work, I tried removing both the architecture and the wine package, with a reboot followed by re-installation. Still no joy ;-( Could this be a path problem? This the content of my current $PATH variable: terry(a)optiplex:~$ echo $PATH /home/terry/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #5 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- (In reply to Terry Coles from comment #4) I am sorry but I forgot the `apt update` between the add-architecture and the install command. The install command contained also a wine32 package. Did that give you an error? The point is, what wine packages do you have currently installed? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #6 from Terry Coles <winehq(a)hadrian-way.co.uk> --- I have fonts-wine, libwineeffects14, libwine, libwine:386, q4wine, wine, wine32-preloader:i386 and wine64. I saw no errors. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #7 from Terry Coles <winehq(a)hadrian-way.co.uk> --- Browsing around on lime, I found: 'In a default Linux Wine setup, kernel32.dll is located within the virtual Windows system directory of your Wine prefix, which is usually at ~/.wine/drive_c/windows/system32/.' I do not have kernel32.dll in that directory. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #8 from Terry Coles <winehq(a)hadrian-way.co.uk> --- I've just found it in /usr/lib/i386-linux-gnu/wine/i386-windows/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #9 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- (In reply to Terry Coles from comment #6)
I have fonts-wine, libwineeffects14, libwine, libwine:386, q4wine, wine, wine32-preloader:i386 and wine64.
This list shows not the "wine32" package, please install that one. If the prefix got created without this package installed initially, then I receive with debian's 10.0~repack-6, which I hope are similar enough to ubuntu,this same error: wine: could not load kernel32.dll, status c0000135 The directory ".wine/drive_c/windows/syswow64" stayed empty. To get it filled I needed to cp /usr/lib/i386-linux-gnu/wine/i386-windows/{start,wineboot}.exe .wine/drive_c/windows/syswow64/ WINEBOOTSTRAPMODE=1 wine wineboot --update --force Or simply kill all wine processes by "wineserver -k", rename the .wine directory and let it re-create by "wine wineboot". -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #10 from Terry Coles <winehq(a)hadrian-way.co.uk> --- Created attachment 79817 --> http://bugs.winehq.org/attachment.cgi?id=79817 Installation of wine32 Shell response. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #11 from Terry Coles <winehq(a)hadrian-way.co.uk> --- Created attachment 79818 --> http://bugs.winehq.org/attachment.cgi?id=79818 Shell output of wineboot -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #12 from Terry Coles <winehq(a)hadrian-way.co.uk> --- See Installation of wine 32. There is no package wine32, only wine32:i386. I renamed .wine and rebooted, see Shell output of wineboot. Launch of Memory Map now fails because it needs re-installing. I'll have to hunt up the original discs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #13 from Terry Coles <winehq(a)hadrian-way.co.uk> --- The good news is that I was able to install Memory Map and run it, but I need to install all the maps before it will do anything. I'll report results tomorrow. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 --- Comment #14 from Terry Coles <winehq(a)hadrian-way.co.uk> --- I just completed the re-installation of Memory Map with all the very expensive maps that I bought about 7-8 years ago. Yes. They will be out of date but that much. Thanks Bernhard for your help. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59043 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID CC| |z.figura12(a)gmail.com --- Comment #15 from Zeb Figura <z.figura12(a)gmail.com> --- Resolving INVALID; setup issue. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla