Browse Source

added libdir

pull/820/merge
Daniel Gibbs 9 years ago
parent
commit
9bdb3f44d5
  1. 1
      functions/core_functions.sh
  2. 1
      lgsm/functions/core_functions.sh
  3. 2
      lgsm/functions/fix_glibc.sh

1
functions/core_functions.sh

@ -23,6 +23,7 @@ fn_fetch_function
if [ -z "${lgsmdir}" ]; then
lgsmdir="${rootdir}/lgsm"
functionsdir="${lgsmdir}/functions"
libdir="${lgsmdir}/lib"
fi
fn_fetch_core_dl(){

1
lgsm/functions/core_functions.sh

@ -23,6 +23,7 @@ fn_fetch_function
if [ -z "${lgsmdir}" ]; then
lgsmdir="${rootdir}/lgsm"
functionsdir="${lgsmdir}/functions"
libdir="${lgsmdir}/lib"
fi
fn_fetch_core_dl(){

2
lgsm/functions/fix_glibc.sh

@ -52,7 +52,7 @@ if [ "$(printf '%s\n$glibc_required\n' $glibc_version | sort -V | head -n 1)" !=
echo "Version $(ldd --version | sed -n '1s/.* //p') is lower than $glibc_required"
if [ "${glibcfix}" == "yes" ]; then
echo "applied glibc fix"
echo "export LD_LIBRARY_PATH=:"${lgsmdir}/lib/ubuntu12.04/i386""
echo "export LD_LIBRARY_PATH=:"${libdir}"
export LD_LIBRARY_PATH=:"${lgsmdir}/lib/ubuntu12.04/i386"
else
echo "no glibc fix available you need to upgrade bro!!"

Loading…
Cancel
Save