diff --git a/lgsm/functions/fix.sh b/lgsm/functions/fix.sh index e4723e649..f10f44f6c 100644 --- a/lgsm/functions/fix.sh +++ b/lgsm/functions/fix.sh @@ -42,6 +42,7 @@ if [ "${function_selfname}" != "command_install.sh" ]; then elif [ "${gamename}" == "ARMA 3" ]; then fix_arma3.sh fi + fix_glibc.sh fi # Fixes that are run on install only. diff --git a/lgsm/functions/fix_glibc.sh b/lgsm/functions/fix_glibc.sh index 87b36db72..cd753882b 100644 --- a/lgsm/functions/fix_glibc.sh +++ b/lgsm/functions/fix_glibc.sh @@ -9,7 +9,7 @@ info_glibc.sh if [ $(printf '%s\n$glibc_required\n' $glibc_version | sort -V | head -n 1) != $glibc_required ]; then echo "Version $(ldd --version | sed -n '1s/.* //p') is lower than $glibc_required" if [ ${glibcfix} == "yes" ]; then - export LD_LIBRARY_PATH=:${filesdir}:${filesdir}/bin:{$LD_LIBRARY_PATH} + export LD_LIBRARY_PATH=:${lgsmdir}/lib/ubuntu12.04/i386 else echo "no glibc fix available you need to upgrade bro!!" fi