[GH-ISSUE #245] [ss3server] GLIBC fix required #207

Closed
opened 2026-02-27 02:00:07 +03:00 by kerem · 7 comments
Owner

Originally created by @lblanchardiii on GitHub (Dec 16, 2014).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/245

Originally assigned to: @dgibbs64 on GitHub.

This is the error I get in the log:

ldd: ./Sam3: No such file or directory
ldd: ./Sam3: No such file or directory
cat: /etc/debian_version: No such file or directory
ERR: Lua error: [string "dofile("Content/SeriousSam3/Config/ss3-serv..."]:1: Cannot open file Content/SeriousSam3/Config/ss3-server.ini
INF: Lua stack traceback:
INF: [C]: in function dofile
INF: [string "dofile("Content/SeriousSam3/Config/ss3-serv..."]:1: in main chunk
LOG: Loaded "/home/ss3/serverfiles/Bin/GameEnv_Steam.so".
INF: GameEnv API: Steam
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
steamclient.sowith error:
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/ss3/serverfiles/Bin/steamclient.so)
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.

Running CentOS 6.6 as the Operating System.

Originally created by @lblanchardiii on GitHub (Dec 16, 2014). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/245 Originally assigned to: @dgibbs64 on GitHub. This is the error I get in the log: ldd: ./Sam3: No such file or directory ldd: ./Sam3: No such file or directory cat: /etc/debian_version: No such file or directory ERR: Lua error: [string "dofile("Content/SeriousSam3/Config/ss3-serv..."]:1: Cannot open file Content/SeriousSam3/Config/ss3-server.ini INF: Lua stack traceback: INF: [C]: in function dofile INF: [string "dofile("Content/SeriousSam3/Config/ss3-serv..."]:1: in main chunk LOG: Loaded "/home/ss3/serverfiles/Bin/GameEnv_Steam.so". INF: GameEnv API: Steam [S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. dlopen failed trying to load: steamclient.sowith error: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/ss3/serverfiles/Bin/steamclient.so) [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll. Running CentOS 6.6 as the Operating System.
kerem 2026-02-27 02:00:07 +03:00
  • closed this issue
  • added the
    type: bug
    label
Author
Owner

@dgibbs64 commented on GitHub (Dec 16, 2014):

Here is the issue.
/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/ss3/serverfiles/Bin/steamclient.so)

However the message is a little odd as even Ubuntu only uses GLIBC 2.19.

Distros like CentOS normally have issues with game servers because of older GLIBC versions.
I will work on writing a glibc fix for this server.

<!-- gh-comment-id:67251542 --> @dgibbs64 commented on GitHub (Dec 16, 2014): Here is the issue. /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /home/ss3/serverfiles/Bin/steamclient.so) However the message is a little odd as even Ubuntu only uses GLIBC 2.19. Distros like CentOS normally have issues with game servers because of older GLIBC versions. I will work on writing a glibc fix for this server.
Author
Owner

@dgibbs64 commented on GitHub (Dec 17, 2014):

ss3server has now got a glibcfix. To resolve this you will need to remove the function directory and re run the installer. I recommend backing up your config file

Please let me know if there is still an issue. Thank you

<!-- gh-comment-id:67417780 --> @dgibbs64 commented on GitHub (Dec 17, 2014): ss3server has now got a glibcfix. To resolve this you will need to remove the function directory and re run the installer. I recommend backing up your config file Please let me know if there is still an issue. Thank you
Author
Owner

@lblanchardiii commented on GitHub (Dec 18, 2014):

Server works great now, but I had to make some changes.

I had to add the port to the server startup line.

Start Variables

ip="192.111.155.210"
port="27015"

https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt

fn_parms(){
parms="+ip ${ip} +port ${port} +logfile ${gamelog} +exec ${servercfgfullpath}"
}

Only with a different port since I already have something running under that port. Changing the port in the config file didn't appear to do anything. In fact the server doesn't seem to follow anything about the config file. Default config had 12 players, but the server loaded 16. Also my custom server name wasn't picked up. It defaulted to the servers host name.

I have not tried to rename the server config file to dedicatedserver.cfg to see if that fixes the issue. Just so happy to finally be able to host this game on my Linux box now.

<!-- gh-comment-id:67427408 --> @lblanchardiii commented on GitHub (Dec 18, 2014): Server works great now, but I had to make some changes. I had to add the port to the server startup line. # Start Variables ip="192.111.155.210" port="27015" # https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/SeriousSam3BFE/help/DedicatedServer_Readme.txt fn_parms(){ parms="+ip ${ip} +port ${port} +logfile ${gamelog} +exec ${servercfgfullpath}" } Only with a different port since I already have something running under that port. Changing the port in the config file didn't appear to do anything. In fact the server doesn't seem to follow anything about the config file. Default config had 12 players, but the server loaded 16. Also my custom server name wasn't picked up. It defaulted to the servers host name. I have not tried to rename the server config file to dedicatedserver.cfg to see if that fixes the issue. Just so happy to finally be able to host this game on my Linux box now.
Author
Owner

@dgibbs64 commented on GitHub (Dec 18, 2014):

Thanks for the feedback. I will have to look in to why the config files are not being applied. If possible please can you test configs and find the best way. Would same me time so I can work on another server

<!-- gh-comment-id:67474950 --> @dgibbs64 commented on GitHub (Dec 18, 2014): Thanks for the feedback. I will have to look in to why the config files are not being applied. If possible please can you test configs and find the best way. Would same me time so I can work on another server
Author
Owner

@lblanchardiii commented on GitHub (Dec 20, 2014):

I have to say that I have given up on this. I can not for the life of me get it to read from a config file. Things I have tried.

Remove the +exec option from the startup line.
Renamed ss3-server.ini to dedicatedserver.cfg
Created the directory ~/Content/SeriousSamHD/Config/ and placed the dedicatedserver.cfg file in there. (The admin notes specify that directory specifically although SS3 had it at ~/Content/SeriousSam3/Config/ but it made no difference)

It will not read the session name (server name) no matter what I have done except for add it to the startup line like I did above. Do note that during all my testing I removed the line(s) I added to get the name to display. It would default to the servers host name no matter what I did.

With that being said, I will be adding the following abilities to the startup line on your script.
+gamemode
+port
+maxplayers

So I can run multiple servers on different ports with different max players and different game modes. I really appreciate all that you've done. I've never been able to get this game to run on Linux due to the aforementioned GLIBC error that I got above.

<!-- gh-comment-id:67753965 --> @lblanchardiii commented on GitHub (Dec 20, 2014): I have to say that I have given up on this. I can not for the life of me get it to read from a config file. Things I have tried. Remove the +exec option from the startup line. Renamed ss3-server.ini to dedicatedserver.cfg Created the directory ~/Content/SeriousSamHD/Config/ and placed the dedicatedserver.cfg file in there. (The admin notes specify that directory specifically although SS3 had it at ~/Content/SeriousSam3/Config/ but it made no difference) It will not read the session name (server name) no matter what I have done except for add it to the startup line like I did above. Do note that during all my testing I removed the line(s) I added to get the name to display. It would default to the servers host name no matter what I did. With that being said, I will be adding the following abilities to the startup line on your script. +gamemode +port +maxplayers So I can run multiple servers on different ports with different max players and different game modes. I really appreciate all that you've done. I've never been able to get this game to run on Linux due to the aforementioned GLIBC error that I got above.
Author
Owner

@dgibbs64 commented on GitHub (Jan 13, 2015):

Closing reference this issue instead https://github.com/dgibbs64/linuxgameservers/issues/247

<!-- gh-comment-id:69837106 --> @dgibbs64 commented on GitHub (Jan 13, 2015): Closing reference this issue instead https://github.com/dgibbs64/linuxgameservers/issues/247
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 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:406445834 --> @lock[bot] commented on GitHub (Jul 19, 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#207
No description provided.