
Garrys Mod Linux server GLIBC_2.15 fix
Problem
Facepunch Studio have released an update for Garrys Mod server that may cause 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))
or
Failed to open dedicated_srv.so (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by bin/dedicated_srv.so))
Facepunch have needed to update Garry’s Mod to use GLIBC_2.15. because of this you will have the issue if GLIBC is older than GLIBC_2.15.
This effects the following distros:
- CentOS 6
- Debian 7
- Ubuntu 12.10 or lower
To check the installed version of Glibc use the command
ldd --version
Details about the update can be found here.
http://www.garrysmod.com/2014/07/11/14-07-11/
Solution
To fix the issue you simply need the required files Garrys Mod server directory.
cd /home/gmodserver
wget https://github.com/GameServerManagers/LinuxGSM/raw/master/lgsm/lib/ubuntu12.04/i386/libstdc++.so.6
cd bin
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
Alternatively you can use Linux Game Server Managers gmodserver game server script.