Steam Ubuntu 14.04 libGL.so.1 大黄蜂

Per*_*oob 8 steam libraries bumblebee 14.04

我正在尝试在 Ubuntu 14.04 上安装 Steam,但我缺少一个库

You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
Run Code Online (Sandbox Code Playgroud)

我已经安装,libgl1-mesa-glx:i386但它仍然不起作用 使用带有大黄蜂 ( optirun)的 nvidia 卡它可以正常启动,因此我不知道这可能是什么。

我也有 Ubuntu 13.04,我可以使用英特尔卡启动 Steam,没有任何问题,并且仅在启动游戏时使用 optirun

Cyr*_*cki 10

对于基于 optimus 的系统,您需要通用的 mesa 库才能正常运行,然后 bumblebee 会在需要时切换到 NVidia 的库。

这些链接实际上是由替代机制控制的。
选择你想使用的调用:

$ sudo update-alternatives --config i386-linux-gnu_gl_conf
There are 3 choices for the alternative i386-linux-gnu_gl_conf (providing /etc/ld.so.conf.d/i386-linux-gnu_GL.conf).

  Selection    Path                                              Priority   Status
------------------------------------------------------------
  0            /usr/lib/nvidia-331-updates/alt_ld.so.conf         8604      auto mode
* 1            /usr/lib/i386-linux-gnu/mesa/ld.so.conf            500       manual mode
  2            /usr/lib/nvidia-331-updates-prime/alt_ld.so.conf   8603      manual mode
  3            /usr/lib/nvidia-331-updates/alt_ld.so.conf         8604      manual mode

Press enter to keep the current choice[*], or type selection number: 
Run Code Online (Sandbox Code Playgroud)

一定要设置台面之一。

64 位库也是如此:

$ sudo update-alternatives --config x86_64-linux-gnu_gl_conf
There are 3 choices for the alternative x86_64-linux-gnu_gl_conf (providing /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf).

  Selection    Path                                          Priority   Status
------------------------------------------------------------
  0            /usr/lib/nvidia-331-updates/ld.so.conf         8604      auto mode
  1            /usr/lib/nvidia-331-updates-prime/ld.so.conf   8603      manual mode
  2            /usr/lib/nvidia-331-updates/ld.so.conf         8604      manual mode
* 3            /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf      500       manual mode

Press enter to keep the current choice[*], or type selection number:
Run Code Online (Sandbox Code Playgroud)

之后重新启动系统并再次尝试启动 Steam。

  • 这就是我所做的,但不需要重新启动。只需运行`sudo ldconfig`,看看它是否有效。 (2认同)

小智 7

@DavidWinchester 运行此命令(如下)效果很好:

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1 
Run Code Online (Sandbox Code Playgroud)

感谢您发布问题