Browse Source
fix(fix): fix sof2 LD_LIBRARY_PATH and standardise usage (#2731)
pull/2740/head
Daniel Gibbs
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with
7 additions and
7 deletions
-
lgsm/functions/fix_ins.sh
-
lgsm/functions/fix_mcb.sh
-
lgsm/functions/fix_onset.sh
-
lgsm/functions/fix_rw.sh
-
lgsm/functions/fix_sdtd.sh
-
lgsm/functions/fix_sof2.sh
-
lgsm/functions/fix_unt.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. |
|
|
|
|
|
|
|
|
|
@ -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}" |
|
|
|
|
|
@ -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. |
|
|
|
|
|
@ -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" |
|
|
|
|
|
@ -7,4 +7,4 @@ |
|
|
|
local modulename="FIX" |
|
|
|
local commandaction="Fix" |
|
|
|
|
|
|
|
export LD_LIBRARY_PATH="${serverfiles}" |
|
|
|
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}" |
|
|
|
|
|
@ -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}" |
|
|
|
|
|
@ -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" |
|
|
|