4

I did a fresh install of Ubuntu 14.04 and tried skype, it worked.

Now I decided to install the video driver from NVIDIA website, install went successful but now Skype is not starting anymore, no error, nothing.

Any help to diagnose this problem, please?

Thank you.

5 Answers5

4

I think this wrapper script is one way to make it work:

Create the folder bin in your home directory, if it's not there already, and put a file named skype there with this contents:

#!/bin/sh
export LD_PRELOAD="/usr/lib/i386-linux-gnu/mesa/libGL.so.1 $LD_PRELOAD"
exec /usr/bin/skype "$@"

Make the file executable with:

chmod +x ~/bin/skype

If you needed to create the ~/bin folder, you need to log out and log in again for this to make a difference.

This should work however you choose to start skype.

3

Instead of messing with all that, create a file called local.conf in the subdirectory /etc/ld.so.conf.d

In /etc/ld.so.conf.d/local.conf, add the following line:

/usr/lib32

Now sudo ldconfig

In Later versions of Ubuntu the /etc/ld.so.conf.d file contains /etc/ld.so.conf.d/*.conf. If this didn't work, ensure that line is added.

3

Skype relies on 32 bit libGL.so.1.On a 32-bit OS it will work without any problems.This problem is seen for those who uses the 64-bit Operating System.As I said before, skype relies on 32-bit libGL.so.1.But it first finds the 64 bit libGL.so.1 file and tries to use it for the rendering, which results in the above error : wrong ELF class. What to do is listed in this link.

Open the file /etc/ld.so.conf.d/skype.conf as listed below.

sudo nano /etc/ld.so.conf.d/skype.conf

Then append the line /usr/lib32( Or your path, if yours is a different one).

After running sudo ldconfig it should work without a problem. Check the link which I listed before for more information.

0

This solution worked for me on Ubuntu 16.04

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/
David Foerster
  • 36,890
  • 56
  • 97
  • 151
-2

This solution worked for me on Debian 8

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