ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
784 stars 69 forks source link

[CS2] missing `libserver_valve.so` #3624

Open Katze719 opened 9 months ago

Katze719 commented 9 months ago

Where do I get the libserver_valve.so

I'm trying to set up a docker container with FROM steamcmd/steamcmd:ubuntu-22 as base image

but I am missing two libs and do not know where I get them from

here my command for installing steamcmd +force_install_dir /data +login anonymous +app_update 730 +quit

and when I try to start my server via ./cs2 -dedicated -port 27015 -console -usercon -maxplayers 10 +mapgroup mg_active +map de_inferno +rcon_password changeme +sv_password changeme +sv_lan 0 i get this abomination of an error message

Loaded /data/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x55f232bf9cb0
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x55f232bfa7a0
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libpulse_system.so, got 0x55f232bfb4e0
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libvscript.so, got 0x55f232c8d1e0
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x55f232c9f510
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x55f232cb3df0
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libvphysics2.so, got 0x55f232cc9ef0
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x55f232cdd410
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libscenesystem.so, got 0x55f232cf34d0
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libv8system.so, got 0x55f232d08e30
cs2-dedicated |  failed to dlopen "/data/game/bin/linuxsteamrt64/libserver_valve.so" error=/data/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
cs2-dedicated |  failed to dlopen "libserver_valve.so" error=libserver_valve.so: cannot open shared object file: No such file or directory
cs2-dedicated | Network System Initialized
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libserver_valve.so, got (nil)
cs2-dedicated |  failed to dlopen /data/game/bin/linuxsteamrt64/libserver_valve.so error=/data/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
cs2-dedicated | Loaded libserver_valve.so, got (nil)
cs2-dedicated |  failed to dlopen libserver_valve.so error=libserver_valve.so: cannot open shared object file: No such file or directory
cs2-dedicated | Loaded /data/game/csgo/bin/linuxsteamrt64/libserver.so, got 0x55f232d24cd0
cs2-dedicated | Physics Console Communications is not initialized
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libengine2.so, got 0x55f232b9bc90
cs2-dedicated | Loaded /data/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x55f232d55f30
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x55f232d696a0
cs2-dedicated | Loaded /data/game/bin/linuxsteamrt64/libparticles.so, got 0x55f232d7b980
cs2-dedicated | Loaded /data/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x55f232d8f5d0
cs2-dedicated | dlopen failed trying to load:
cs2-dedicated | steamclient.so
cs2-dedicated | with error:
cs2-dedicated | steamclient.so: cannot open shared object file: No such file or directory
cs2-dedicated | dlopen failed trying to load:
cs2-dedicated | /root/.local/share/Steam/steamcmd/linux64/steamclient.so
cs2-dedicated | with error:
cs2-dedicated | /root/.local/share/Steam/steamcmd/linux64/steamclient.so: cannot open shared object file: No such file or directory
cs2-dedicated | [S_API] SteamAPI_Init(): Failed to load module '/root/.local/share/Steam/steamcmd/linux64/steamclient.so'
cs2-dedicated |  0 Failed to initialize Steamworks SDK for gameserver.  Failed to load module '/root/.local/share/Steam/steamcmd/linux64/steamclient.so'
cs2-dedicated | 
cs2-dedicated | No .vcds loaded or no scenes/scenes.vrman
cs2-dedicated | GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom).
cs2-dedicated | GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative).
cs2-dedicated | GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission).
cs2-dedicated | Event System loaded 93 events from file: vpk:/data/game/core/pak01.vpk:resource/core.gameevents.
cs2-dedicated | Event System loaded 50 events from file: vpk:/data/game/csgo/pak01.vpk:resource/game.gameevents.
cs2-dedicated | Event System loaded 152 events from file: vpk:/data/game/csgo/pak01.vpk:./resource/mod.gameevents.
cs2-dedicated | CEntitySystem::BuildEntityNetworking (parallel build of server) took 22.057 msecs for 218 out of 297 classes
cs2-dedicated | [STARTUP] {1.713} server module init ok
cs2-dedicated | CHostStateMgr::QueueNewRequest( Idle (console), 1 )
cs2-dedicated | Source2Init OK
cs2-dedicated | HostStateRequest::Start(HSR_IDLE):  loop(console) id(1) addons() desc(Idle (console))
cs2-dedicated | SwitchToLoop console requested:  id [1] addons []
cs2-dedicated | Host activate: Idle (console)
cs2-dedicated | Setting mapgroup to 'mg_active'
cs2-dedicated | Loading map "de_inferno"
cs2-dedicated | CHostStateMgr::QueueNewRequest( Loading (de_inferno), 2 )
cs2-dedicated | HostStateRequest::Start(HSR_GAME):  loop(levelload) id(2) addons() desc(Loading (de_inferno))
cs2-dedicated | SwitchToLoop levelload requested:  id [2] addons []
cs2-dedicated | SV:  Level loading started for 'de_inferno'
cs2-dedicated | CL:  CLoopModeLevelLoad::MaybeSwitchToGameLoop switching to "game" loopmode with addons ()
cs2-dedicated | SwitchToLoop game requested:  id [2] addons []
cs2-dedicated | SteamGameServer_Init()
cs2-dedicated | Failed to initialize Steamworks SDK for gameserver.  Failed to load module '/root/.local/share/Steam/steamcmd/linux64/steamclient.so'
cs2-dedicated | /etc/run.sh: line 39:    36 Segmentation fault      ./cs2 -dedicated -port 27015 -console -usercon -maxplayers 10 +mapgroup mg_active +map de_inferno +rcon_password changeme +sv_password changeme +sv_lan 0
senneschall commented 9 months ago

Duplicate of #3533

Rosuav commented 5 months ago

Debatably NOT a duplicate, since the file is different, and the solution of "symlink it from somewhere else" doesn't work if there's no such file anywhere. Where can libserver_valve.so be found? It's neither in my steamcmd directory nor in my .steam client directory.

Whoffie commented 5 months ago

the lack of documentation/assistance from Valve on this is honestly unacceptable. It looks like no one knows what to do about this, and it feels like Valve straight up forgot to ship the file. Wtf.