[GH-ISSUE #1390] [Website] glibc requirement has changed! (CentOS 6 can no longer be used to host a TF2 server) #1080

Closed
opened 2026-02-27 02:55:11 +03:00 by kerem · 6 comments
Owner

Originally created by @kamild1996 on GitHub (Mar 31, 2017).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1390

Originally assigned to: @dgibbs64 on GitHub.

I've learned that the hard way, sadly.
Looks like we missed the fact that Valve updated the libraries used by the game and by the server. The main page for tf2server manager (https://gameservermanagers.com/lgsm/tf2server/) still mentions "glibc => 2.3.6" is required. Suggested by that, I installed the game server on a VPS that had CentOS 6 already installed by default, so I didn't bother upgrading to 7. And that was a big mistake - the server won't start on CentOS 6 because of the following error:
Failed to open dedicated_srv.so (/lib/libm.so.6: version 'GLIBC_2.15' not found (required by bin/dedicated_srv.so))
And the latest version of glibc available for CentOS 6 is 2.13. It's a problem because:

  • Updating glibc to an even later version than officially available is not advised and breaks the system
  • Upgrading CentOS 6 to 7 is not officially possible (there's a certain tool, but the upgrade breaks a lot of things in the system - again)

So all I got left is to... reinstall to the latest version. Because most (if not all) guides have outdated information about such requirements.
Can someone please revise the requirements to make sure it's not the case with older versions of Ubuntu/Fedora/Debian as well?

Originally created by @kamild1996 on GitHub (Mar 31, 2017). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/1390 Originally assigned to: @dgibbs64 on GitHub. I've learned that the hard way, sadly. Looks like we missed the fact that Valve updated the libraries used by the game and by the server. The main page for tf2server manager (https://gameservermanagers.com/lgsm/tf2server/) still mentions "glibc => 2.3.6" is required. Suggested by that, I installed the game server on a VPS that had CentOS 6 already installed by default, so I didn't bother upgrading to 7. And that was a big mistake - the server won't start on CentOS 6 because of the following error: `Failed to open dedicated_srv.so (/lib/libm.so.6: version 'GLIBC_2.15' not found (required by bin/dedicated_srv.so))` And the latest version of glibc available for CentOS 6 is 2.13. It's a problem because: - Updating glibc to an even later version than officially available is not advised and breaks the system - Upgrading CentOS 6 to 7 is not officially possible (there's a certain tool, but the upgrade breaks a lot of things in the system - again) So all I got left is to... reinstall to the latest version. Because most (if not all) guides have outdated information about such requirements. Can someone please revise the requirements to make sure it's not the case with older versions of Ubuntu/Fedora/Debian as well?
kerem 2026-02-27 02:55:11 +03:00
Author
Owner

@dgibbs64 commented on GitHub (Mar 31, 2017):

Thanks for the details. I will get everything updated. I was aware that TF2 was broken on CentOS currently but we are looking in to this. I hope that Valve resolve the issue.

<!-- gh-comment-id:290741850 --> @dgibbs64 commented on GitHub (Mar 31, 2017): Thanks for the details. I will get everything updated. I was aware that TF2 was broken on CentOS currently but we are looking in to this. I hope that Valve resolve the issue.
Author
Owner
<!-- gh-comment-id:295562619 --> @zcythe commented on GitHub (Apr 20, 2017): I use the gmod trick to fix this issue. **Centos 6.x** cd /home/tf2server/serverfiles/bin wget https://github.com/GameServerManagers/LinuxGSM/raw/master/lgsm/lib/ubuntu12.04/i386/libstdc++.so.6 wget https://github.com/GameServerManagers/LinuxGSM/raw/master/lgsm/lib/ubuntu12.04/i386/libc.so.6 wget https://github.com/GameServerManagers/LinuxGSM/raw/master/lgsm/lib/ubuntu12.04/i386/libm.so.6 wget https://github.com/GameServerManagers/LinuxGSM/raw/master/lgsm/lib/ubuntu12.04/i386/libpthread.so.0 References: https://danielgibbs.co.uk/2014/08/garrys-mod-linux-server-glibc_2-15/ ----------------------------------------------------------------------------------------------------- **Centos 7.x** yum install libcurl.i686 ln -s /usr/lib/libcurl.so.4 /usr/lib/libcurl-gnutls.so.4
Author
Owner

@dgibbs64 commented on GitHub (Apr 30, 2017):

@zcythe I am unable to get tf2 working on centos 6 currently even with the fix in place

Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
Server will auto-restart if there is a crash.
Using Breakpad minidump system. Version: 3920631 AppID: 232250
Setting breakpad minidump AppID = 232250
Using breakpad crash handler
Loaded 7640 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_textures.vpk for pure server operation.
Loaded 7640 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_textures.vpk for pure server operation.
Loaded 465 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 465 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 1095 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 1095 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 1805 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_misc.vpk for pure server operation.
Loaded 1805 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_misc.vpk for pure server operation.
Loaded 1805 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_misc.vpk for pure server operation.
Loaded 1217 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 449 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_misc.vpk for pure server operation.
Loaded 449 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/platform/platform_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/platform/platform_misc.vpk for pure server operation.
server_srv.so loaded for "Team Fortress"
Could not load: replay_srv.so
Could not load: replay_srv.so

Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
./srcds_run: line 324: 24111 Segmentation fault      (core dumped) $HL_CMD
Missing separate debuginfo for /home/linuxgsm/tf2server/serverfiles/srcds_linux
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/a0/d4a4df9a1844d398fb95feda6f6ba99aa3c5eb.debug
BFD: Warning: /home/linuxgsm/tf2server/serverfiles/core is truncated: expected core file size >= 199737344, found: 1245184.
Cannot access memory at address 0xb77218e8
Cannot access memory at address 0xb77218e8
Cannot access memory at address 0xb77218e8
Failed to read a valid object file image from memory.
Cannot access memory at address 0xbff41e70
debug.cmds:5: Error in sourced command file:
No function contains program counter for selected frame.
email debug.log to linux@valvesoftware.com
<!-- gh-comment-id:298251009 --> @dgibbs64 commented on GitHub (Apr 30, 2017): @zcythe I am unable to get tf2 working on centos 6 currently even with the fix in place ``` Auto detecting CPU Using default binary: ./srcds_linux Enabling debug mode Server will auto-restart if there is a crash. Using Breakpad minidump system. Version: 3920631 AppID: 232250 Setting breakpad minidump AppID = 232250 Using breakpad crash handler Loaded 7640 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_textures.vpk for pure server operation. Loaded 7640 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_textures.vpk for pure server operation. Loaded 465 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_sound_vo_english.vpk for pure server operation. Loaded 465 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_sound_vo_english.vpk for pure server operation. Loaded 1095 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_sound_misc.vpk for pure server operation. Loaded 1095 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_sound_misc.vpk for pure server operation. Loaded 1805 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_misc.vpk for pure server operation. Loaded 1805 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_misc.vpk for pure server operation. Loaded 1805 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/tf/tf2_misc.vpk for pure server operation. Loaded 1217 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_textures.vpk for pure server operation. Loaded 574 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_sound_vo_english.vpk for pure server operation. Loaded 383 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_sound_misc.vpk for pure server operation. Loaded 449 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_misc.vpk for pure server operation. Loaded 449 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/hl2/hl2_misc.vpk for pure server operation. Loaded 5 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/platform/platform_misc.vpk for pure server operation. Loaded 5 VPK file hashes from /home/linuxgsm/tf2server/serverfiles/platform/platform_misc.vpk for pure server operation. server_srv.so loaded for "Team Fortress" Could not load: replay_srv.so Could not load: replay_srv.so Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit ./srcds_run: line 324: 24111 Segmentation fault (core dumped) $HL_CMD Missing separate debuginfo for /home/linuxgsm/tf2server/serverfiles/srcds_linux Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/a0/d4a4df9a1844d398fb95feda6f6ba99aa3c5eb.debug BFD: Warning: /home/linuxgsm/tf2server/serverfiles/core is truncated: expected core file size >= 199737344, found: 1245184. Cannot access memory at address 0xb77218e8 Cannot access memory at address 0xb77218e8 Cannot access memory at address 0xb77218e8 Failed to read a valid object file image from memory. Cannot access memory at address 0xbff41e70 debug.cmds:5: Error in sourced command file: No function contains program counter for selected frame. email debug.log to linux@valvesoftware.com ```
Author
Owner

@thesweetiger commented on GitHub (Jul 2, 2017):

I have the same error on ubuntu 16.04.2 LTS fresh install
i have a csgo server and this one work fine

ldd on server_srv.so return that

` linux-gate.so.1 => (0xe42cd000)
libtier0_srv.so => not found
libvstdlib_srv.so => not found
libsteam_api.so => not found
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xe2a53000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xe2a4e000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xe28d7000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xe28ba000)
/lib/ld-linux.so.2 (0xe42ce000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xe2703000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xe26e6000)

This the server I use
https://www.soyoustart.com/ca/en/offers/142sys5.xml

also i don't use any manager straight console only

<!-- gh-comment-id:312511458 --> @thesweetiger commented on GitHub (Jul 2, 2017): I have the same error on ubuntu 16.04.2 LTS fresh install i have a csgo server and this one work fine ldd on server_srv.so return that > ` linux-gate.so.1 => (0xe42cd000) > libtier0_srv.so => not found > libvstdlib_srv.so => not found > libsteam_api.so => not found > libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xe2a53000) > libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xe2a4e000) > libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xe28d7000) > libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xe28ba000) > /lib/ld-linux.so.2 (0xe42ce000) > libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xe2703000) > libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xe26e6000) > This the server I use https://www.soyoustart.com/ca/en/offers/142sys5.xml also i don't use any manager straight console only
Author
Owner

@dgibbs64 commented on GitHub (Oct 1, 2017):

All is now working

<!-- gh-comment-id:333404677 --> @dgibbs64 commented on GitHub (Oct 1, 2017): All is now working
Author
Owner

@lock[bot] commented on GitHub (Oct 1, 2018):

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:426061033 --> @lock[bot] commented on GitHub (Oct 1, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
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#1080
No description provided.