Jelajahi Sumber

GLIBC 2.15 fix

Now works with GLIBC 2.15. Downloads required deps in to the bin
directory
Daniel Gibbs 11 tahun lalu
induk
melakukan
3958397d09
1 mengubah file dengan 10 tambahan dan 1 penghapusan
  1. 10 1
      GarrysMod/gmodserver

+ 10 - 1
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(){