Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to install Steam on Ubuntu 14.04 but I'm missing a library

You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1

I have installed libgl1-mesa-glx:i386 but it still doesn't work Using the nvidia card with bumblebee (optirun) it starts normally, thus I don't know what this could be.

I have also Ubuntu 13.04 and I can start steam with the intel card without any problems, and use optirun only when launching the games

share|improve this question
1  
Run in a terminal locate libGL.so and see if you have it. Then you can make a symbolic link. –  Cornelius May 17 at 17:28
3  
Thanks. It's strange that Steam doesn't locate the library. Anyway, I solved it with sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1 :) Thank you –  David Winchester May 17 at 17:38
1  
@DavidWinchester this sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1 worked me too. thanks for posting the question. –  zulucoda Jun 26 at 19:59

2 Answers 2

@DavidWinchester running this command (below) works well:

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1 

thanks for posting the question

share|improve this answer
1  
It's in the comments :P –  David Winchester Jun 28 at 15:26
    
@DavidWinchester I know its in your comment. lol. come on! give a brother some credit for trying to get some "points" :D –  zulucoda Jun 29 at 20:43
    
Thanks a lot, you're superb. –  arno Jul 11 at 23:00

For the optimus-based ssytems, you need generic mesa libraries for normal operation, and then bumblebee will switch to the NVidia's ones when needed.

These links are actually controlled by the alternatives mechanism.
To choose which one you would like to use invoke: You can set the right one using:

$ 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: 

Be sure to set up the mesa one.

Same for the 64bit libraries:

$ 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:

Reboot the system afterwards and try launching steam again.

share|improve this answer
    
This is what I do, but there's no need to reboot. Just run sudo ldconfig instead and see if it worked. –  Bruno Nova Oct 18 at 9:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.