CM2Walki / steamcmd

Minimal image containing Valve's SteamCMD binary: https://hub.docker.com/r/cm2network/steamcmd/

Home Page:https://CM2.Network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't run steamcmd.sh with 32-bit dependency error

alexmaras opened this issue · comments

I'm trying to run an image that uses this image as its base, and I'm hitting issues. After messing about with things a bit, I've run docker run -it cm2network/steamcmd:root bash to check if the issue happens on this base image too, and I'm hitting the same issue.

Here's what I'm running, and the output of it. Bizarrely, I don't have this issue on another PC. I'm starting to wonder if it's an SELinux issue or something.

alex@atlas:~/docker/valheim> docker run -it cm2network/steamcmd:root bash
root@9f9c6c185766:/home/steam/steamcmd# su - steam
$ cd steamcmd
$ ls -l
total 8
drwxr-xr-x. 1 steam steam  234 Sep 30 03:41 linux32
drwxr-xr-x. 1 steam steam   28 Sep 30 03:41 linux64
drwxr-xr-x. 1 steam steam  686 Sep 30 03:41 package
drwxr-xr-x. 1 steam steam 1690 Sep 30 03:41 public
drwxr-xr-x. 1 steam steam   14 Sep 30 03:41 siteserverui
lrwxrwxrwx. 1 steam steam   32 Mar  4  2021 steam.sh -> /home/steam/steamcmd/steamcmd.sh
-rwxr-xr-x. 1 steam steam 1173 Nov 22  2020 steamcmd.sh
$ ./steamcmd.sh
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Downloading update (147 of 54,020 KB)...
[  0%] Downloading update (1,992 of 54,020 KB)...
[  3%] Downloading update (3,863 of 54,020 KB)...
[  7%] Downloading update (5,732 of 54,020 KB)...
[ 10%] Downloading update (7,603 of 54,020 KB)...
[ 14%] Downloading update (9,784 of 54,020 KB)...
[ 18%] Downloading update (11,652 of 54,020 KB)...
[ 21%] Downloading update (13,509 of 54,020 KB)...
[ 25%] Downloading update (15,371 of 54,020 KB)...
[ 28%] Downloading update (17,418 of 54,020 KB)...
[ 32%] Downloading update (19,261 of 54,020 KB)...
[ 35%] Downloading update (21,130 of 54,020 KB)...
[ 39%] Downloading update (22,941 of 54,020 KB)...
[ 42%] Downloading update (25,002 of 54,020 KB)...
[ 46%] Downloading update (26,851 of 54,020 KB)...
[ 49%] Downloading update (28,699 of 54,020 KB)...
[ 53%] Downloading update (30,537 of 54,020 KB)...
[ 56%] Downloading update (32,595 of 54,020 KB)...
[ 60%] Downloading update (34,450 of 54,020 KB)...
[ 63%] Downloading update (36,257 of 54,020 KB)...
[ 67%] Downloading update (37,297 of 54,020 KB)...
[ 69%] Downloading update (38,456 of 54,020 KB)...
[ 71%] Downloading update (39,523 of 54,020 KB)...
[ 73%] Downloading update (40,585 of 54,020 KB)...
[ 75%] Downloading update (41,650 of 54,020 KB)...
[ 77%] Downloading update (42,930 of 54,020 KB)...
[ 79%] Downloading update (44,163 of 54,020 KB)...
[ 81%] Downloading update (45,369 of 54,020 KB)...
[ 83%] Downloading update (46,549 of 54,020 KB)...
[ 86%] Downloading update (47,886 of 54,020 KB)...
[ 88%] Downloading update (49,103 of 54,020 KB)...
[ 90%] Downloading update (50,289 of 54,020 KB)...
[ 93%] Downloading update (51,582 of 54,020 KB)...
[ 95%] Downloading update (52,791 of 54,020 KB)...
[ 97%] Downloading update (54,014 of 54,020 KB)...
[ 99%] Downloading update (54,020 of 54,020 KB)...
[100%] Download complete.
[----] Installing update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...src/common/steam/client_api.cpp (579) : Assertion Failed: ClientAPI_InitGlobalInstance: InternalAPI_Init_Internal failed, most likely because you are missing a 32-bit dependency of steamclient.so (the Steam client is a 32-bit app).

FAILED (1)
$ 

If you have any thoughts, I'd appreciate the assistance. I'm debugging at the moment by running ldd on all the binaries in the steam install to see if that helps, and I'm going to try building from scratch instead of using the image, too.

Initial report with the manual build - I had to update curl=7.64.0-4+deb10u1 to curl=7.64.0-4+deb10u2 as that specific version of the package is no longer available. After doing that, everything works as expected, and I get the Steam> prompt properly.

I've manually built the image I was using that uses this image as a base, and have got a working server now. I honestly am a bit baffled as to how this could have broken. I can see that the image updated 7 months ago, and the dev who uses this as their base image hasn't had any issues. I also didn't have any issues on a different PC, but that one had previously run the image, so I can only assume that was some kind of caching thing.

The only thing I can imagine is that the curl=7.64.0-4+deb10u2 version may have been an update for later linux kernels that broke compatibility with curl=7.64.0-4+deb10u1? If so, I can see how that could have caused an issue, because the kernel in use is still the hosts'