7

just installed Skype 4.3 on my laptop (Dell Inspiron N5110) running Ubuntu 14.10 following all the instructions from every possible source but when I try to launch it absolutely nothing happens.

What can I do to get it working? Here's what I get:

andi@Andi:~$ skype
skype: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Lucio
  • 18,843
  • 1
    What output do you get if you open a terminal window and run the command skype? Please answer by editing your question and adding that piece of info. – Gunnar Hjalmarsson Dec 02 '14 at 19:15
  • Here's what I get " andi@Andi:~$ skype skype: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory " – Matei Alexandru Dec 02 '14 at 20:42
  • I suggest that you check out this solution: http://ubuntuforums.org/showthread.php?t=2233005 –  Jul 04 '16 at 10:31

4 Answers4

10

Open a terminal window and try to start Skype with this command (copy and paste):

LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 skype

If that's successful, I suggest that you check out this answer to get a persistent solution.

Gunnar Hjalmarsson
  • 33,540
  • 3
  • 64
  • 94
3

This solution worked for me on Ubuntu 16.04

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

Make sure you have libgl1-mesa-glx installed.

David Foerster
  • 36,264
  • 56
  • 94
  • 147
  • +1 for mentioning that libgl1-mesa-glx needs to be installed. After installing it, everything worked for me even without making symlinks or setting LD_PRELOAD (though in my case it was Firefox inside a Docker container that didn't work). – skozin Oct 02 '16 at 15:30
0

For Ubuntu like systems, I confirm that the solution of Gunnar Hjalmarsson works:

LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1 skype

(tested un xUbuntu 16.04) However, it doesn't work for debian.

The solutions for debian are listed here, and the solution for the libGl error is to run

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

Then everything works perfectly ! (tested on debian unstable with the debian binary from the official website on november 2016)

tobiasBora
  • 2,448
-1

If others like me ends up here trying to solve this problem, the solution could be to reinstall bumblebee with the following:

sudo apt-get install bumblebee-nvidia --reinstall
Pilot6
  • 90,100
  • 91
  • 213
  • 324
svea
  • 16