fixing LD_PRELOAD
This commit is contained in:
parent
4fa8814836
commit
83770055dd
4
launch
4
launch
@ -40,7 +40,7 @@ if [ -e /dev/nvidiactl ]; then
|
||||
fi
|
||||
|
||||
# Use libgcrypt provided by the Steam docker image (needed by HL1 engine games)
|
||||
export LD_PRELOAD="/lib/i386-linux-gnu/libgcrypt.so.11 /lib/x86_64-linux-gnu/libgcrypt.so.11"
|
||||
export LD_PRELOAD="/lib/i386-linux-gnu/libgcrypt.so.11:/lib/x86_64-linux-gnu/libgcrypt.so.11"
|
||||
|
||||
#
|
||||
# Try to load host's libGL (generic or Nvidia 32/64-bit) drivers
|
||||
@ -53,6 +53,6 @@ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$(echo /h{1..20}_{32,64} | tr ' ' ':')"
|
||||
# Hint: to find out what's wrong, use `strace`
|
||||
#
|
||||
# 1) Try to load host's Pulse library instead of the one from this image
|
||||
export LD_PRELOAD="$LD_PRELOAD $(find /h{1..20}_{32,64} -type f -name "*libpulsecommon*" 2>/dev/null)"
|
||||
export LD_PRELOAD="$LD_PRELOAD:$(find /h{1..20}_{32,64} -type f -name "*libpulsecommon*" -print0 2>/dev/null| tr '\0' ':')"
|
||||
|
||||
su -p user -c "steam $@"
|
||||
|
Loading…
Reference in New Issue
Block a user