Open
Description
Trying to run steamcmd.sh with bash, and it errors with Error: file is not found (check BOX64_PATH)
setting BOX86_LOG=1 lets us see that the problem is libtinfo.so.6
:
Debug level is 1
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Running on Neoverse-N1 with 4 Cores
Params database has 22 entries
Box86 with Dynarec v0.3.1 5cdc1b9f built on Jun 11 2023 02:04:53
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/:i686/
Using default BOX86_PATH: ./:bin/
Counted 6 Env var
Looking for /root/box86/tests/bash
bash detected, disabling banner
argv[1]="/root/Steam/steamcmd.sh"
argv[2]="/bin/bash"
Rename process to "bash"
Error initializing native libtinfo.so.6 (last dlerror is libtinfo.so.6: cannot open shared object file: No such file or directory)
Error loading needed lib libtinfo.so.6
Error loading one of needed lib
Error: loading needed libs in elf /root/box86/tests/bash
I've tried installing these libraries with no luck : libncurses6 libncurses5 libtinfo5 libtinfo6
This is the Dockerfile I'm trying to run in a Oracle server with arm/v8:
FROM weilbyte/box:debian-11
RUN apt-get update && apt-get install -y \
git \
wget \
libncurses6 libncurses5 libtinfo5 libtinfo6
# Download and install SteamCMD
RUN mkdir -p ~/Steam && \
cd ~/Steam && \
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz && \
tar zxvf steamcmd_linux.tar.gz && \
chmod +x steamcmd.sh
RUN git clone https://github.com/ptitSeb/box86 ~/box86
ENV BOX86_LOG=1
ENTRYPOINT ["/usr/local/bin/box86", "/root/box86/tests/bash", "/root/Steam/steamcmd.sh"]
But running directly the steamcmd executable directly seems to work:
root@15265adcc673:/# /usr/local/bin/box86 /root/Steam/linux32/steamcmd
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Running on Neoverse-N1 with 4 Cores
Params database has 22 entries
the x86_64 bash "/bin/bash" is not an x86_64 binary
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/:i686/
Using default BOX86_PATH: ./:bin/
Counted 11 Env var
Looking for /root/Steam/linux32/steamcmd
steam detected
Rename process to "steamcmd"
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Redirecting stderr to '/root/Steam/logs/stderr.txt'
Using native(wrapped) crashhandler.so
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
[----] Downloading update (0 of 59532 KB)...
[ 0%] Downloading update (0 of 59532 KB)...
[ 0%] Downloading update (0 of 59532 KB)...
[...]
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching...
Also reported here: ptitSeb/box86#840
Metadata
Metadata
Assignees
Labels
No labels