From 31c9bcd195d6af5ad75e6d01625c8ad5a8ad7be4 Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Tue, 26 May 2015 16:26:00 +0200 Subject: [PATCH] Fixed Steam / LAN error This fixes: - Unable to load Steam support library. - This server will operate in LAN mode only. --- functions/fn_install_glibcfix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions/fn_install_glibcfix b/functions/fn_install_glibcfix index 619dadfa0..d9ef9c246 100644 --- a/functions/fn_install_glibcfix +++ b/functions/fn_install_glibcfix @@ -84,6 +84,10 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/Insurgency/dependencies/libm.so.6 wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/Insurgency/dependencies/librt.so.1 wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgsm/raw/master/Insurgency/dependencies/libpthread.so.0 + elif [ "${gamename}" == "Left 4 Dead" ]; then + glibcversion="2.07" + fn_glibcfixmsg + cp -v "${rootdir}/steamcmd/linux32/libstdc++.so.6" "${filesdir}/bin/libstdc++.so.6" # Natural Selection 2 elif [ "${gamename}" == "Natural Selection 2" ]; then glibcversion="2.15" @@ -122,4 +126,4 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 : #Else glibcfix not required. fi fi -sleep 1 \ No newline at end of file +sleep 1