Browse Source

fix(fix): fix sof2 LD_LIBRARY_PATH and standardise usage (#2731)

pull/2740/head
Daniel Gibbs 5 years ago
committed by GitHub
parent
commit
8a29dcc7aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lgsm/functions/fix_ins.sh
  2. 2
      lgsm/functions/fix_mcb.sh
  3. 2
      lgsm/functions/fix_onset.sh
  4. 2
      lgsm/functions/fix_rw.sh
  5. 2
      lgsm/functions/fix_sdtd.sh
  6. 2
      lgsm/functions/fix_sof2.sh
  7. 2
      lgsm/functions/fix_unt.sh

2
lgsm/functions/fix_ins.sh

@ -9,7 +9,7 @@ local commandaction="Fix"
# Fixes: ./srcds_linux: error while loading shared libraries: libtier0.so: cannot open shared object file: No such file or directory.
export LD_LIBRARY_PATH=${serverfiles}:${serverfiles}/bin:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/bin"
# Fixes: issue #529 - gamemode not passed to debug or start.

2
lgsm/functions/fix_mcb.sh

@ -8,4 +8,4 @@ local modulename="FIX"
local commandaction="Fix"
# official docs state that the server should be started with: LD_LIBRARY_PATH=. ./bedrock_server
export LD_LIBRARY_PATH="${serverfiles}:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}"

2
lgsm/functions/fix_onset.sh

@ -8,7 +8,7 @@ local modulename="FIX"
local commandaction="Fix"
local function_selfname=$(basename "$(readlink -f "${BASH_SOURCE[0]}")")
export LD_LIBRARY_PATH="${serverfiles}:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}"
# Fixes: Failed loading "mariadb": libmariadbclient.so.18: cannot open shared object file: No such file or directory
# Issue only occures on CentOS as libmariadbclient.so.18 is called libmariadb.so.3 on CentOS.

2
lgsm/functions/fix_rw.sh

@ -7,4 +7,4 @@
local modulename="FIX"
local commandaction="Fix"
export LD_LIBRARY_PATH="${serverfiles}/linux64:${serverfiles}:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/linux64"

2
lgsm/functions/fix_sdtd.sh

@ -7,4 +7,4 @@
local modulename="FIX"
local commandaction="Fix"
export LD_LIBRARY_PATH="${serverfiles}"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}"

2
lgsm/functions/fix_sof2.sh

@ -8,4 +8,4 @@ local modulename="FIX"
local commandaction="Fix"
# Fixes: error while loading shared libraries: libcxa.so.1
export LD_LIBRARY_PATH=":$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}"

2
lgsm/functions/fix_unt.sh

@ -8,4 +8,4 @@ local modulename="FIX"
local commandaction="Fix"
# steamclient.so: cannot open shared object file: No such file or directory
export LD_LIBRARY_PATH="${serverfiles}/linux64:${serverfiles}:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/linux64"

Loading…
Cancel
Save