首先,过去几天我一直在尝试运行 Steam。每次启动 Steam 时,图标只出现片刻,然后就关闭了。当我通过系统监视器检查该进程时,它被标记为休眠状态。因此我通过终端启动它,它显示了以下内容:
$ steam
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2016-12-03 17:10:00] Startup - updater built Jun 16 2014 11:16:02
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
据我所读这里,把env LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0
命令放在 之前steam
,就可以运行它,最后结果是这样的:
$ env LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0 steam
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2016-12-03 17:12:41] Startup - updater built Jun 16 2014 11:16:02
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
我也从同一个链接中读到,删除链接libstdc++.so.6
可能会使其起作用,但显然该目录在我的设备中不存在,这也许可以解释为什么输出相同。
有人能给我指出正确的方向吗?