Pipetto-crypto / androBox

Another Box86 and Box64 Android project using glibc-for-termux
GNU General Public License v3.0
79 stars 7 forks source link

[HELP] how to build box64 & box86 glibc #12

Closed DevikinD closed 10 months ago

DevikinD commented 10 months ago

Help me please I am trying to build latest box64 for glibc but not working always error

Error: reading elf header of /data/data/com.termux/files/usr/glibc/opt/wine/bin/wine, try to launch using box86 instead wine: could not load ntdll.so: Cannot dlopen("/data/data/com.termux/files/usr/glibc/opt/wine/bin/../lib/wine/x86_64-unix/ntdll.so"/0x5e2faaf0, 2)

wine: could not load kernel32.dll, status c0000135

build on grun --shell patchelf used after build patchelf --set-interpreter /data/data/com.termux/files/usr/glibc/lib/ld-linux-aarch64.so.1 --force-rpath --set-rpath /data/data/com.termux/files/usr/glibc/lib box64

How you build your box64 or box86?

Pipetto-crypto commented 10 months ago

Newer box64 don't build on grun shell anymore. You need to build them in proot

DevikinD commented 10 months ago

Does it need a specific patch to work? Or just need to build with Ubuntu on proot and use patchelf?

DevikinD commented 10 months ago

Finally, I managed to make it work properly and no error, thx bro 👍