xDoge26 / proot-setup

64 stars 13 forks source link

Could not load kernel32.dll #4

Closed mikamito998 closed 1 year ago

mikamito998 commented 1 year ago

After install wine and start vnc and type box86 wine winecfg there is error : Could not load kernel32.dll

xDoge26 commented 1 year ago

Oh yes i faced that problem before , you can try replace wine amd64 with wine x86 , it fixed that problem https://github.com/Kron4ek/Wine-Builds/releases/tag/8.0

Or ... you can disable selinux which is easier (but this method need root)

mikamito998 commented 1 year ago

May I ask, what are you doing in future in this proot-setup project?

xDoge26 commented 1 year ago

Its just for fun , since android have a lots of limitation

mikamito998 commented 1 year ago

This is a good project, because out there no one can install box64+wine on termux proot. At that time I was having trouble installing wine on arm64 and I was happy when I found a youtube tutorial video that directed me here.

xDoge26 commented 1 year ago

there no one can install box64+wine on termux proot

Actually there are many people who did that before me , they just dont want to make a tutorial :P

xDoge26 commented 1 year ago

And is the problem fixed ?

mikamito998 commented 1 year ago

not solved, i think i need to change termux prefix to x86.

xDoge26 commented 1 year ago

i think you should try to replace wine-amd64 with wine-x86 . It fixed that problem (at least with me)

mikamito998 commented 1 year ago

there no one can install box64+wine on termux proot

Actually there are many people who did that before me , they just dont want to make a tutorial :P

Yeah, that's kinda bad🥲

xDoge26 commented 1 year ago

Ok i reinstall termux and im have the same problem as you , im trying to fix it (without root method , with root you can disable selinux and the problem is fixed)

mikamito998 commented 1 year ago

Thank you for trying to fix it🥰

xDoge26 commented 1 year ago

Thank you for trying to fix it🥰

Can you try WINEARCH=win32 box86 wine winecfg ?

mikamito998 commented 1 year ago

oot@localhost:~# WINEARCH=win32 box86 wine winecfg Box86 with Dynarec v0.2.9 49c65078 built on Feb 23 2023 06:32:33 Box86 with Dynarec v0.2.9 49c65078 built on Feb 23 2023 06:32:33 Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Cores:8 Params database has 15 entries Box64 with Dynarec v0.2.1 1f9973e6 built on Feb 24 2023 07:18:56 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 45 Env var Looking for /root/wine/bin/wineserver Rename process to "wineserver" Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 wine: WINEARCH set to win32 but '/root/.wine' is a 64-bit installation. root@localhost:~# box86 wine winecfg Box86 with Dynarec v0.2.9 49c65078 built on Feb 23 2023 06:32:33 Box86 with Dynarec v0.2.9 49c65078 built on Feb 23 2023 06:32:33 Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Cores:8 Params database has 15 entries Box64 with Dynarec v0.2.1 1f9973e6 built on Feb 24 2023 07:18:56 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 44 Env var Looking for /root/wine/bin/wineserver Rename process to "wineserver" Using native(wrapped) libdl.so.2 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0) wine: could not load kernel32.dll, status c0000135

mikamito998 commented 1 year ago

still could not load kernel32.dll 😭

xDoge26 commented 1 year ago

still could not load kernel32.dll 😭

have you removed wine prefix first ?

mikamito998 commented 1 year ago

still could not load kernel32.dll 😭

have you removed wine prefix first ?

Not yet. like this? rm -r ~/.wine

xDoge26 commented 1 year ago

Yes you must remove broken wine prefix before creating a new one

mikamito998 commented 1 year ago

Ok thx 🥰

mikamito998 commented 1 year ago

where are you from?

xDoge26 commented 1 year ago

Ok thx 🥰

and is the problem fixed ?

mikamito998 commented 1 year ago

Sorry, I've been busy lately. Yes it's fixed, thank you so much🥰