pull/5/head
Andy 8 years ago
parent f1f3812aa6
commit baa07e7d78
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

@ -44,8 +44,10 @@ fi
#
# Make sure the Steam docker image's paths are coming first
# and then the hosts's (/h1..20) mounted ones
export LD_LIBRARY_PATH="/lib:/lib64:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:$(echo /h{1..20}_{32,64} | tr ' ' ':')"
# GOOD export LD_LIBRARY_PATH="/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:$(echo /h{1..20}_{32,64} | tr ' ' ':')"
export LD_LIBRARY_PATH="$(echo /h{1..20}_{32,64} | tr ' ' ':')"
# Use libgcrypt provided by the Steam docker image
export LD_PRELOAD="/lib/i386-linux-gnu/libgcrypt.so.11:/lib/x86_64-linux-gnu/libgcrypt.so.11"
#
# In order to avoid the inconsistency error, when launching `csgo_linux64`
@ -53,6 +55,6 @@ export LD_LIBRARY_PATH="/lib:/lib64:/lib/i386-linux-gnu:/lib/x86_64-linux-gnu:$(
# Hint: to find out what's wrong, use `strace`
#
# 1) openSUSE's libpulsecommon-7.0.so vs Ubuntu's libpulsecommon-5.0.so
export LD_PRELOAD=$(find /h{1..20}_{32,64} -name "*libpulsecommon*" 2>/dev/null)
export LD_PRELOAD="$LD_PRELOAD:$(find /h{1..20}_{32,64} -name "*libpulsecommon*" 2>/dev/null)"
su -p user -c "steam $@"

Loading…
Cancel
Save