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
2  
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
    
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

These links are actually controlled by the alternatives mechanism.
You can set the right one using:

 sudo update-alternatives --auto x86_64-linux-gnu_gl_conf

It should set it to automatically follow nvidia's settings and should be valid after updates as well.
You can get more info using:

    cyryl@dagrey:/etc/ld.so.conf.d$ sudo update-alternatives --display x86_64-linux-gnu_gl_conf

Example output, valid for working steam:

x86_64-linux-gnu_gl_conf - auto mode
  link currently points to /usr/lib/nvidia-331/ld.so.conf
/usr/lib/nvidia-331-prime/ld.so.conf - priority 8603
  slave x86_64-linux-gnu_grub_fb_blacklist: /usr/share/nvidia-331/nvidia-331.grub-gfxpayload
  slave x86_64-linux-gnu_man_nvidiaxconfig.gz: /usr/share/man/man1/alt-nvidia-331-xconfig.1.gz
  slave x86_64-linux-gnu_nvidia-debugdump: /usr/lib/nvidia-331/bin/nvidia-debugdump
  slave x86_64-linux-gnu_nvidia-smi.1.gz: /usr/share/man/man1/alt-nvidia-331-smi.1.gz
  slave x86_64-linux-gnu_nvidia_app_profile: /usr/share/nvidia-331/nvidia-application-profiles-331.38-rc
  slave x86_64-linux-gnu_nvidia_bug_report: /usr/lib/nvidia-331/bin/nvidia-bug-report.sh
  slave x86_64-linux-gnu_nvidia_modconf: /lib/nvidia-331/modprobe.conf
  slave x86_64-linux-gnu_nvidia_smi: /usr/lib/nvidia-331/bin/nvidia-smi
  slave x86_64-linux-gnu_nvidia_xconfig: /usr/lib/nvidia-331/bin/nvidia-xconfig
/usr/lib/nvidia-331/ld.so.conf - priority 8604
  slave x86_64-linux-gnu_grub_fb_blacklist: /usr/share/nvidia-331/nvidia-331.grub-gfxpayload
  slave x86_64-linux-gnu_libvdpau_nvidia.so: /usr/lib/nvidia-331/vdpau/libvdpau_nvidia.so
  slave x86_64-linux-gnu_libvdpau_nvidia.so.1: /usr/lib/nvidia-331/vdpau/libvdpau_nvidia.so.1
  slave x86_64-linux-gnu_libvdpau_nvidia.so.1_lib32: /usr/lib32/nvidia-331/vdpau/libvdpau_nvidia.so.1
  slave x86_64-linux-gnu_libvdpau_nvidia.so_lib32: /usr/lib32/nvidia-331/vdpau/libvdpau_nvidia.so
  slave x86_64-linux-gnu_man_nvidiaxconfig.gz: /usr/share/man/man1/alt-nvidia-331-xconfig.1.gz
  slave x86_64-linux-gnu_man_persistenced.gz: /usr/share/man/man1/alt-nvidia-331-persistenced.1.gz
  slave x86_64-linux-gnu_nvidia-cuda-mps-control: /usr/lib/nvidia-331/bin/nvidia-cuda-mps-control
  slave x86_64-linux-gnu_nvidia-cuda-mps-control.1.gz: /usr/share/man/man1/alt-nvidia-331-cuda-mps-control.1.gz
  slave x86_64-linux-gnu_nvidia-cuda-mps-server: /usr/lib/nvidia-331/bin/nvidia-cuda-mps-server
  slave x86_64-linux-gnu_nvidia-debugdump: /usr/lib/nvidia-331/bin/nvidia-debugdump
  slave x86_64-linux-gnu_nvidia-smi.1.gz: /usr/share/man/man1/alt-nvidia-331-smi.1.gz
  slave x86_64-linux-gnu_nvidia_app_profile: /usr/share/nvidia-331/nvidia-application-profiles-331.38-rc
  slave x86_64-linux-gnu_nvidia_bug_report: /usr/lib/nvidia-331/bin/nvidia-bug-report.sh
  slave x86_64-linux-gnu_nvidia_drv: /usr/lib/nvidia-331/xorg/nvidia_drv.so
  slave x86_64-linux-gnu_nvidia_modconf: /lib/nvidia-331/modprobe.conf
  slave x86_64-linux-gnu_nvidia_persistenced: /usr/lib/nvidia-331/bin/nvidia-persistenced
  slave x86_64-linux-gnu_nvidia_smi: /usr/lib/nvidia-331/bin/nvidia-smi
  slave x86_64-linux-gnu_nvidia_xconfig: /usr/lib/nvidia-331/bin/nvidia-xconfig
  slave x86_64-linux-gnu_xorg_extra_modules: /usr/lib/nvidia-331/xorg
/usr/lib/x86_64-linux-gnu/mesa/ld.so.conf - priority 500
  slave x86_64-linux-gnu_xorg_extra_modules: /usr/lib/x86_64-linux-gnu/xorg/x11-extra-modules
Current 'best' version is '/usr/lib/nvidia-331/ld.so.conf'.
share|improve this answer

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.