فهرست منبع

GLIBC 2.15 fix

Now works with GLIBC 2.15. Downloads required deps in to the bin
directory
Daniel Gibbs 12 سال پیش
والد
کامیت
3958397d09
1فایلهای تغییر یافته به همراه10 افزوده شده و 1 حذف شده
  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(){