Xash3d wont work with box86
While trying to load Xash3d today on a raspberry pi, i encountered this error "Box86 with Dynarec v0.2.3 4f6196b3 built on Jul 26 2021 16:52:12 Error: PltReolver: Symbol modify_ldt(ver 10: modify_ldt@GLIBC_2.1) not found, cannot apply R_386_JMP_SLOT 0x81ffb74 (0x804be46) in /home/pi/.local/share/Steam/steamapps/common/Half-Life/xash3d"
I'm not super sure, but it kind of looks like the kind of error I get if I install a box86 file that wasn't compiled for the system I'm trying to run it on? Have you tried compiling box86?
This seems to indicate that your binary requires a newer glibc/libc version than your raspberry pi offers (ldd --version). The official raspberry pi os tends to have an older version since it's based on debian.
I'm currently fighting with something similar. I compiled glibc and installed it into the prefix /opt/glibc-2.33. After that I used this modified cmake command to make box64 (should be similar though) use that new glibc: exec cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_FLAGS="-Wl,--rpath=/opt/glibc-2.33/lib -Wl,--dynamic-linker=/opt/glibc-2.33/lib/ld-linux-aarch64.so.1" (thanks to this SO). I confirmed that working by running file box64 and seeing, that the interpreter was indeed in the new prefix.
Now I'm fighting to make the runner find the other system libraries (libGL, X libs and so on).
EDIT: Otherwise you could try to play with BOX86_LIBRARY_LD_PATH, LD_LIBRARY_PATH and executing box86 another locally built ld-linux-....so file (it seems to be the binary equivalent of e.g. using python3 as an interpreter or prefixing it). There are some good articles on the internet about this, but I lost the link that showed me this.
If this is indeed a lib and not a binary, this issue might be a duplicate of https://github.com/ptitSeb/box86/issues/83 .
The issue might also just be a problem of box86. Just found out that my similar problem got solved by the commit referenced in issue https://github.com/ptitSeb/box64/issues/121 .
I have added the missing symbol some time ago, so it might work now.
Note that box86 and box64 are not compatible with static link build. If ldd of the file (or readelf -aW /home/pi/.local/share/Steam/steamapps/common/Half-Life/xash3d | grep NEEDED gives nothing, that libc is linked staticaly and box wil not work with that version.