[GH-ISSUE #3809] [BUG] LinuxGSM incorrectly (not) installing deps for csgoserver #2490

Open
opened 2026-02-27 03:03:18 +03:00 by kerem · 0 comments
Owner

Originally created by @danglingptr0x0 on GitHub (Mar 7, 2022).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3809

User Story

As a server host, I want to run csgoserver so that people can play with me.

Basic info

  • Distro: Ubuntu 20.04.4 LTS
  • Game: CS:GO
  • Command: ./csgoserver detect-deps
  • LinuxGSM version: 21.5.1

Further Information

The script fails to install dependencies for csgoserver. However, the server itself seems to encounter issues as well, but I can't say if these are caused by the missing dependencies.

To Reproduce

Steps to reproduce the behavior:

  1. Run the server manager to create a csgoserver
  2. Update the newly created server by running ./csgoserver update
  3. Install the server by running ./csgoserver install
  4. Wait for it to finish, including SteamCMD downloading the server data
  5. Try to run the server with default config by running `./csgoserver start'
  6. Run ./csgoserver dt to check the details and if the server was bound to a socket
  7. Observe zeroes at the end of the printout, signifying that we couldn't bind to a socket
  8. Try ./csgoserver monitor to try querying the port, observe [FAIL]
  9. As such, try checking the deps, just in case: ./csgoserver detect-deps
  10. Observe detected missing dependencies. I couldn't manage to install them from official repos

Full list of missing deps:

Required Dependencies
=================================
./srcds_run

CentOS
=================================
 compat-libstdc++-33.i686 fontconfig freetype glibc.i686 libcurl.i686 libstdc++.i686 zlib

Ubuntu
=================================
lib32gcc1 libcurl4-gnutls-dev:i386 libfontconfig1 libfreetype6 libopenal1 libstdc++5:i386 libstdc++6:i386 zlib1g

Debian
=================================
lib32gcc1 libcurl4-gnutls-dev:i386 libfontconfig1 libfreetype6 libopenal1 libstdc++5:i386 libstdc++6:i386 zlib1g

Unknown shared Library
=================================
libavcodec.so.56
libavformat.so.56
libavresample.so.2
libavutil.so.54
libbz2.so.1.0
libcairo_client.so
libdxvk_d3d9.so
libicui18n.so
libicuuc.so
libMiles.so
libphonon.so
libSDL2-2.0.so.0
libsteamnetworkingsockets.so
libsteam.so
libswscale.so.3
libtier0_client.so
libtogl_client.so
libuuid.so.1
libv8_libbase.so
libv8_libplatform.so
libv8.so
libvideo.so
libvstdlib_client.so
libvulkan.so.1
libX11.so.6
tier0_i486.so
UnityPlayer.so
vgui.so
vstdlib_i486.so

Required Librarys
=================================
ld-linux.so.2
ld-linux-x86-64.so.2
libavcodec.so.56
libavformat.so.56
libavresample.so.2
libavutil.so.54
libbz2.so.1.0
libcairo_client.so
libc.so.6
libcurl-gnutls.so.4
libdl.so.2
libdxvk_d3d9.so
libfontconfig.so.1
libfreetype.so.6
libgcc_s.so.1
libicui18n.so
libicuuc.so
libMiles.so
libm.so.6
libopenal.so.1
libphonon.so
libpthread.so.0
librt.so.1
libSDL2-2.0.so.0
libstdc++.so.5
libstdc++.so.6
libsteam_api.so
libsteamnetworkingsockets.so
libsteam.so
libswscale.so.3
libtier0_client.so
libtier0.so
libtier0_srv.so
libtogl_client.so
libuuid.so.1
libv8_libbase.so
libv8_libplatform.so
libv8.so
libvideo.so
libvstdlib_client.so
libvstdlib.so
libvstdlib_srv.so
libvulkan.so.1
libX11.so.6
libz.so.1
tier0_i486.so
UnityPlayer.so
vgui.so
vstdlib_i486.so

[ ERROR ] Developer detect deps csgoserver: No exit code set
core_exit.sh exiting with code: 0

I installed the libs suggested for Ubuntu, however the result is exactly the same.

Moreover, the server itself keeps saying the following:

./srcds_run: 32: pushd: not found
./srcds_run: 35: popd: not found
WARNING: No map specified! Defaulting to de_dust
Server will auto-restart if there is a crash.
LD_LIBRARY_PATH=/home/simtoon/serverfiles/bin:/home/simtoon/serverfiles:/home/simtoon/serverfiles/bin:
Failed to open dedicated.so (/home/simtoon/serverfiles/bin/dedicated.so: undefined symbol: Plat_IsInDebugSession)

Server run command:

 ./srcds_run -game csgo -usercon -strictportbind -ip 0.0.0.0 -port 27016 +clientport 27005 +tv_port 27020 +sv_setsteamaccount B1BC60298A624843D1C4C48FC7998A8D -tickrate 128 +map de_mirage +servercfgfile csgoserver.cfg -maxplayers_override 16 +mapgroup mg_active +game_type 0 +game_mode 0 +host_workshop_collection  +workshop_start_map  -authkey  -nobreakpad

csgoserver's debug.log:

CRASH: Sun 06 Mar 2022 07:43:45 PM UTC
Start Line: ./srcds_linux -game csgo -usercon -strictportbind -ip 0.0.0.0 -port 27016 +clientport 27005 +tv_port 27020 +sv_setsteamaccount B1BC60298A624843D1C4C48FC7998A8D -tickr
ate 128 +map de_mirage +servercfgfile csgoserver.cfg -maxplayers_override 16 +mapgroup mg_active +game_type 0 +game_mode 0 +host_workshop_collection +workshop_start_map -authkey
-nobreakpad -debug
End of Source crash report

Expected behavior

The script should install the dependencies in the first place and if not, then definitely after running the command to check for them. The reason could very well be that they're missing from the official Ubuntu repos, but then the script should be updated to reflect that and perhaps fetch them from additional sources.

Originally created by @danglingptr0x0 on GitHub (Mar 7, 2022). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/3809 ## User Story As a server host, I want to run `csgoserver` so that people can play with me. ## Basic info * **Distro:** Ubuntu 20.04.4 LTS * **Game:** CS:GO * **Command:** ./csgoserver detect-deps * **LinuxGSM version:** 21.5.1 ## Further Information The script fails to install dependencies for `csgoserver`. However, the server itself seems to encounter issues as well, but I can't say if these are caused by the missing dependencies. ## To Reproduce Steps to reproduce the behavior: 1. Run the server manager to create a `csgoserver` 2. Update the newly created server by running `./csgoserver update` 3. Install the server by running `./csgoserver install` 4. Wait for it to finish, including `SteamCMD` downloading the server data 5. Try to run the server with default config by running `./csgoserver start' 6. Run `./csgoserver dt` to check the details and if the server was bound to a socket 7. Observe zeroes at the end of the printout, signifying that we couldn't bind to a socket 8. Try `./csgoserver monitor` to try querying the port, observe [FAIL] 9. As such, try checking the deps, just in case: `./csgoserver detect-deps` 10. Observe detected missing dependencies. I couldn't manage to install them from official repos Full list of missing deps: ``` Required Dependencies ================================= ./srcds_run CentOS ================================= compat-libstdc++-33.i686 fontconfig freetype glibc.i686 libcurl.i686 libstdc++.i686 zlib Ubuntu ================================= lib32gcc1 libcurl4-gnutls-dev:i386 libfontconfig1 libfreetype6 libopenal1 libstdc++5:i386 libstdc++6:i386 zlib1g Debian ================================= lib32gcc1 libcurl4-gnutls-dev:i386 libfontconfig1 libfreetype6 libopenal1 libstdc++5:i386 libstdc++6:i386 zlib1g Unknown shared Library ================================= libavcodec.so.56 libavformat.so.56 libavresample.so.2 libavutil.so.54 libbz2.so.1.0 libcairo_client.so libdxvk_d3d9.so libicui18n.so libicuuc.so libMiles.so libphonon.so libSDL2-2.0.so.0 libsteamnetworkingsockets.so libsteam.so libswscale.so.3 libtier0_client.so libtogl_client.so libuuid.so.1 libv8_libbase.so libv8_libplatform.so libv8.so libvideo.so libvstdlib_client.so libvulkan.so.1 libX11.so.6 tier0_i486.so UnityPlayer.so vgui.so vstdlib_i486.so Required Librarys ================================= ld-linux.so.2 ld-linux-x86-64.so.2 libavcodec.so.56 libavformat.so.56 libavresample.so.2 libavutil.so.54 libbz2.so.1.0 libcairo_client.so libc.so.6 libcurl-gnutls.so.4 libdl.so.2 libdxvk_d3d9.so libfontconfig.so.1 libfreetype.so.6 libgcc_s.so.1 libicui18n.so libicuuc.so libMiles.so libm.so.6 libopenal.so.1 libphonon.so libpthread.so.0 librt.so.1 libSDL2-2.0.so.0 libstdc++.so.5 libstdc++.so.6 libsteam_api.so libsteamnetworkingsockets.so libsteam.so libswscale.so.3 libtier0_client.so libtier0.so libtier0_srv.so libtogl_client.so libuuid.so.1 libv8_libbase.so libv8_libplatform.so libv8.so libvideo.so libvstdlib_client.so libvstdlib.so libvstdlib_srv.so libvulkan.so.1 libX11.so.6 libz.so.1 tier0_i486.so UnityPlayer.so vgui.so vstdlib_i486.so [ ERROR ] Developer detect deps csgoserver: No exit code set core_exit.sh exiting with code: 0 ``` I installed the libs suggested for Ubuntu, however the result is exactly the same. Moreover, the server itself keeps saying the following: ``` ./srcds_run: 32: pushd: not found ./srcds_run: 35: popd: not found WARNING: No map specified! Defaulting to de_dust Server will auto-restart if there is a crash. LD_LIBRARY_PATH=/home/simtoon/serverfiles/bin:/home/simtoon/serverfiles:/home/simtoon/serverfiles/bin: Failed to open dedicated.so (/home/simtoon/serverfiles/bin/dedicated.so: undefined symbol: Plat_IsInDebugSession) ``` Server run command: ``` ./srcds_run -game csgo -usercon -strictportbind -ip 0.0.0.0 -port 27016 +clientport 27005 +tv_port 27020 +sv_setsteamaccount B1BC60298A624843D1C4C48FC7998A8D -tickrate 128 +map de_mirage +servercfgfile csgoserver.cfg -maxplayers_override 16 +mapgroup mg_active +game_type 0 +game_mode 0 +host_workshop_collection +workshop_start_map -authkey -nobreakpad ``` `csgoserver`'s `debug.log`: ``` CRASH: Sun 06 Mar 2022 07:43:45 PM UTC Start Line: ./srcds_linux -game csgo -usercon -strictportbind -ip 0.0.0.0 -port 27016 +clientport 27005 +tv_port 27020 +sv_setsteamaccount B1BC60298A624843D1C4C48FC7998A8D -tickr ate 128 +map de_mirage +servercfgfile csgoserver.cfg -maxplayers_override 16 +mapgroup mg_active +game_type 0 +game_mode 0 +host_workshop_collection +workshop_start_map -authkey -nobreakpad -debug End of Source crash report ``` ## Expected behavior The script should install the dependencies in the first place and if not, then definitely after running the command to check for them. The reason could very well be that they're missing from the official Ubuntu repos, but then the script should be updated to reflect that and perhaps fetch them from additional sources.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#2490
No description provided.