The Steam launcher script should remove more libs from the runtime

Bug #1633700 reported by Brice Terzaghi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
steam (Ubuntu)
New
Undecided
Unassigned

Bug Description

Using Ubuntu 16.10, Steam 1:1.0.0.52-5ubuntu1 from the repos.

For a long time, there have been issues with Steam and Mesa, because libs from the Steam runtime conflict with the ones from the system. The usual method to address this is to simply delete some libs from the runtime. For Ubuntu 16.04, the usual advice was to remove libstdc++, libgcc and libxcb. With Ubuntu 16.10, it seems that removing libgpg-error is required too.

The Ubuntu Steam startup script (/usr/games/steam) effectively deletes libstdc++ and libgpg-error, referencing some bug reports from Freedesktop. The problem is that keeping the two other libs in the runtime leads to specific issues too. There's one with the game Faeria and I suspect there would be one with Payday 2, though I can't install it to confirm right now, it's just that I've had issues with it related to the runtime a few monthes ago. Maybe other games too. I can only confirm that removing them fixes the issue with Faeria.

I don't have bug reports references for issues with these two libs, I can only say that at least one should be removed and if I judge by the usual advice, probably both of them. So, IMO, the following lines should be added to the /usr/games/steam script, before the last line:

find $runtime -name libgcc_s.so\* -delete
find $runtime -name libxcb.so\* -delete

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.