[BOX64] Error loading needed lib libandroid-spawn.so
[BOX64] Using emulated /data/data/com.termux/files/usr/bin/../lib/wine/x86_64-unix/ntdll.so[BOX64] Error loading needed lib libandroid-spawn.so[BOX64] Error loading one of needed lib[BOX64] Error initializing needed lib /data/data/com.termux/files/usr/bin/../lib/wine/x86_64-unix/ntdll.sowine: could not load ntdll.so: Cannot dlopen("/data/data/com.termux/files/usr/bin/../lib/wine/x86_64-unix/ntdll.so"/0xb4000074e285
libandroid-spawn.so is not wrapped in the Android build of box64. You will need the x86_64 version of the lib for now. Or yu you can build wine with staticaly linking libandroid-spawn as an alternative.
[BOX64] Box64 with Dynarec v0.3.5 b7ab2607 built on Apr 1 2025 18:57:34 [BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 [BOX64] Running on Cortex-A55 with 8 cores, pagesize: 4096 [BOX64] Will use hardware counter measured at 13.0 MHz emulating 3.3 GHz [BOX64] Wine64 detected, WINEPRELOADRESERVE="" [BOX64] Didn't detect 48bits of address space, considering it's 39bits [BOX64] Warning, program break not found [BOX64] WINE prereserve of 0x10000:0x8000 done [BOX64] WINE prereserve of 0x110000:0x30000000 done [BOX64] WINE prereserve of 0x7f000000:0x3000000 done [BOX64] Detected running wine with "winecfg" [BOX64] Warning, older then 2.34 pthread_kill not found, using current one [BOX64] Counted 44 Env var [BOX64] BOX64 trying to Preload /data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so [BOX64] Library search path: [BOX64] Binary search path: ./:bin/:/data/data/com.termux/files/usr/bin/ [BOX64] Looking for wine [BOX64] BOX64ENV: Variables overridden via env and/or RC file: BOX64_DYNAREC_SAFEFLAGS=2 BOX64_MAXCPU=64 BOX64_MMAP32=1 [BOX64] argv[1]="winecfg" [BOX64] Rename process to "wine" [BOX64] Warning, cannot pre-load /data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libdl.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libc.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libpthread.so [BOX64] Using native(wrapped) libm.so [BOX64] Using native(wrapped) libbsd.so [BOX64] Warning, program break not found [BOX64] Using emulated /data/data/com.termux/files/usr/bin/../lib/wine/x86_64-unix/ntdll.so [BOX64] Warning, program break not found [BOX64] Using emulated libandroid-spawn.so [BOX64] Warning, program break not found [BOX64] Using emulated libc++_shared.so [BOX64] Box64 with Dynarec v0.3.5 b7ab2607 built on Apr 1 2025 18:57:34 [BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 [BOX64] Running on Cortex-A55 with 8 cores, pagesize: 4096 [BOX64] Will use hardware counter measured at 13.0 MHz emulating 3.3 GHz [BOX64] Wine preloader detected, loading "/data/data/com.termux/files/usr/bin/wine" directly [BOX64] Wine64 detected, WINEPRELOADRESERVE="" [BOX64] Didn't detect 48bits of address space, considering it's 39bits [BOX64] Warning, program break not found [BOX64] WINE prereserve of 0x10000:0x8000 done [BOX64] WINE prereserve of 0x110000:0x30000000 done [BOX64] WINE prereserve of 0x7f000000:0x3000000 done [BOX64] Detected running wine with "winecfg" [BOX64] Warning, older then 2.34 pthread_kill not found, using current one [BOX64] Counted 46 Env var [BOX64] BOX64 trying to Preload /data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so [BOX64] Library search path: [BOX64] Binary search path: ./:bin/:/data/data/com.termux/files/usr/bin/ [BOX64] Looking for /data/data/com.termux/files/usr/bin/wine [BOX64] BOX64ENV: Variables overridden via env and/or RC file: BOX64_DYNAREC_SAFEFLAGS=2 BOX64_MAXCPU=64 BOX64_MMAP32=1 [BOX64] argv[1]="winecfg" [BOX64] Rename process to "wine" [BOX64] Warning, cannot pre-load /data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libdl.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libc.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libpthread.so [BOX64] Using native(wrapped) libm.so [BOX64] Using native(wrapped) libbsd.so [BOX64] Warning, program break not found [BOX64] Using emulated /data/data/com.termux/files/usr/bin/../lib/wine/x86_64-unix/ntdll.so [BOX64] Warning, program break not found [BOX64] Using emulated libandroid-spawn.so [BOX64] Warning, program break not found [BOX64] Using emulated libc++_shared.so [BOX64] posix_spawn(0x74c9e08628, "/data/data/com.termux/files/usr/bin/wineserver", 0x0, 0x0, 0x74c9e08630["/data/data/com.termux/files/usr/bin/wineserver", "", ...], 0x74c9e089c8), IsX64=1, IsX86=0 IsScript=0 envp is context->envv [BOX64] => posix_spawn(0x74c9e08628, "/data/data/com.termux/files/usr/bin/box64", 0x0, 0x0, 0x7fedba8570 ["/data/data/com.termux/files/usr/bin/box64", "/data/data/com.termux/files/usr/bin/wineserver", ""...:1], 0x7fedba8bc0) [BOX64] posix_spawn returned 0 [BOX64] Box64 with Dynarec v0.3.5 b7ab2607 built on Apr 1 2025 18:57:34 [BOX64] Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 [BOX64] Running on Cortex-A55 with 8 cores, pagesize: 4096 [BOX64] Will use hardware counter measured at 13.0 MHz emulating 3.3 GHz [BOX64] Didn't detect 48bits of address space, considering it's 39bits [BOX64] Warning, program break not found [BOX64] Warning, older then 2.34 pthread_kill not found, using current one [BOX64] Counted 46 Env var [BOX64] BOX64 trying to Preload /data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so [BOX64] Library search path: [BOX64] Binary search path: ./:bin/:/data/data/com.termux/files/usr/bin/ [BOX64] Looking for /data/data/com.termux/files/usr/bin/wineserver [BOX64] BOX64ENV: Variables overridden via env and/or RC file: BOX64_DYNAREC_SAFEFLAGS=2 BOX64_MMAP32=1 [BOX64] Rename process to "wineserver" [BOX64] Warning, cannot pre-load /data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libdl.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libc.so [BOX64] Warning, program break not found [BOX64] Using native(wrapped) libpthread.so [BOX64] Using native(wrapped) libm.so [BOX64] Using native(wrapped) libbsd.so 0024:err:environ:run_wineboot failed to start wineboot c000007b wine: could not load kernel32.dll, status c000007b
I may need some patches. termux-wine-fix.patch39bit-address-space.patch ntdll_fix_address_space.patch hook_mmap.patch tmpdir.patchesync-noshm.patch Can you collect and provide the above patches?
Can you collect and provide the above patches?
Who? me? no.