فهرست منبع

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
 # Server Management Script
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
 # Website: http://danielgibbs.co.uk
 # Website: http://danielgibbs.co.uk
-# Version: 050814
+# Version: 240814
 
 
 #### Variables ####
 #### Variables ####
 
 
@@ -658,10 +658,19 @@ echo ""
 fn_gmoddeps(){
 fn_gmoddeps(){
 echo "Copying libstdc++.so.6"
 echo "Copying libstdc++.so.6"
 echo "================================="
 echo "================================="
+sleep 1
 cd "${filesdir}"
 cd "${filesdir}"
 cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}"
 cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}"
 sleep 1
 sleep 1
 echo ""
 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(){
 fn_header(){