FS#52248 - [steam-native-runtime] Change LD_LIBRARY_PATH without clearing existing content

Attached to Project: Community Packages
Opened by Marius Steffen (Marius_Linux) - Friday, 23 December 2016, 02:57 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 05 December 2017, 19:26 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Currently, /usr/bin/steam-native 's LD_LIBRARY_PATH is set to "/usr/lib/steam:/usr/lib32/steam", without adding the existing LD_LIBRARY_PATH after that. This may pose a problem, as it does for me, when there's alreading an existing LD_LIBRARY_PATH set.
E.g., on my machine (I'm using both my Intel integrated GPU and my descrete NVIDIA GTX 1070, without the hassle of bumblebee/bbswitch, etc.) it's set to "/usr/${LIB}/nvidia/", when using my descrete GPU.
So when starting steam-native, the usual errors (swrast missing, etc...) pop up.

The solution is pretty simple:

export LD_LIBRARY_PATH="/usr/lib/steam:/usr/lib32/steam"

should be changed to:

export LD_LIBRARY_PATH="/usr/lib/steam:/usr/lib32/steam:$LD_LIBRARY_PATH"

Steps to reproduce:
See above
This task depends upon

Closed by  Levente Polyak (anthraxx)
Tuesday, 05 December 2017, 19:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.0.0.54-2

Loading...