ArchLinux运行steam出现缺少LibGL--steam libGL error: failed to load driver: swrast

This article was last updated on days ago, the information described in the article may be outdated.

其实arch的wiki已经提到了,而且这个问题是比较常见的,只需要删除steam的库就行。

wiki原文链接

删除运行库
运行此命令,删除在issues上已知的运行库问题:

find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete

如果上面的命令不工作,则再次运行上面的命令,然后运行此命令。

find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete

Author: lxz

Permalink: https://blog.justforlxz.com/2016/07/15/ArchLinux%E8%BF%90%E8%A1%8Csteam%E5%87%BA%E7%8E%B0%E7%BC%BA%E5%B0%91LibGL-steam-libGL-error-failed-to-load-driver-swrast/

Comments