ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.73k stars 267 forks source link

rar for linux error #1382

Closed xboxones1 closed 6 months ago

xboxones1 commented 6 months ago
Looking for ./rar
Rename process to "rar"
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using native(wrapped) libm.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libdl.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using native(wrapped) libbsd.so.0
Look for arc4random in loaded elfs
Warning, function arc4random not found in lib libbsd.so.0
Look for arc4random in loaded elfs
Warning, function arc4random not found in lib libbsd.so.0

Download here It is not working correctly, trying to compress files, no progress is shown, only this warning.

mcagabe19 commented 6 months ago

uhhhh are u really needed use x86_64 tar? just use normal one

xboxones1 commented 6 months ago

rar ≠ tar. The native version for arm does not exist. As for arc4random, use older versions of the libs libstdc++.so.6 and libgcc_s.so.1. The warning is gone, the archiver itself works, but there is no progress, I just have to wait for the compression process to finish. Is it possible to fix this?

ptitSeb commented 6 months ago

I think the issue with rar, iirc, is that it use utf-16 to write to the console. So you need to start with BOX64_NOBANNER=1 BOX64_LOG=0 (i.e. completly silent) for it to work.

xboxones1 commented 6 months ago

Thanks, it worked.