From 3958397d09105513750139c46f76e7017e6da1ad Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 24 Aug 2014 14:48:37 +0100 Subject: [PATCH] GLIBC 2.15 fix Now works with GLIBC 2.15. Downloads required deps in to the bin directory --- GarrysMod/gmodserver | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index 6b2d49158..543ede509 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk -# Version: 050814 +# Version: 240814 #### Variables #### @@ -658,10 +658,19 @@ echo "" fn_gmoddeps(){ echo "Copying libstdc++.so.6" echo "=================================" +sleep 1 cd "${filesdir}" cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}" sleep 1 echo "" +echo "Applying GLIBC_2.15 fix" +echo "=================================" +sleep 1 +cd "${filesdir}"/bin +wget https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6 +wget https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6 +wget https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0 +echo "" } fn_header(){