20

Under 13.04, Skype is crashing with a seg fault.

$ skype
Segmentation fault (core dumped)
$

How can I fix this?

37

You can also do the following way ...

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

copy and paste the following line in it

 /usr/lib/i386-linux-gnu/mesa/

and then run

 sudo ldconfig -v

This issue was mentioned in the release notes.

  • 1
    Note that this breaks Steam for Linux. If you want to use steam, you need to remove this .conf file or rename it to something that does not end in .conf. Then run ldconfig and run Steam. – Chris Jun 6 '13 at 12:47
  • @Chris ty for updating ...... – Qasim Jun 6 '13 at 12:48
  • 1
    This is applicable for ubuntu 14.04 as well. I had the same issue in HP envy - 64 Bit. After run above command the skype loaded without any issues. – kds Sep 10 '14 at 10:39
6

Temporary workaround. Open a terminal and paste this in:

sudo  mv /usr/bin/skype{,-bin}
sudo install -b -m 744 <(<<EOF
#!/bin/sh
export LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1
exec /usr/bin/skype-bin
EOF) /usr/bin/skype

Then Skype should

  • 2
    Weird, why does skype need mesa libs? – w4etwetewtwet Apr 26 '13 at 20:04
4
  1. To get Skype to work in Ubuntu 13.04 Raring Ringtail with proprietary Nvidia / AMD drivers, firstly we'll rename the Skype executable from "skype" to "skype-bin":

    sudo mv /usr/bin/skype /usr/bin/skype-bin

  2. Now let's create a file called "skype" under /usr/bin/ - for this we'll launch a text editor as root (I'll use Gedit in the instructions below):

    gksu gksu gedit /usr/bin/skype

(I've used "gksu" twice in the command above so Gedit doesn't open a blank tab along with /usr/bin/skype)

And in this file, paste the following:

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

Then save the file.

  1. And finally, run the following command in a terminal:

    sudo chmod 0755 /usr/bin/skype

That's it. Now Skype should work in Ubuntu 13.04 Raring Ringtail.

If you want to revert the changes made by using the instructions above, use these commands:

sudo rm /usr/bin/skype
sudo mv /usr/bin/skype-bin /usr/bin/skype

source

1

If you, like me, have Skype installed before upgrading Ubuntu 12.10 to 13.04, uninstall it. Go to Ubuntu Software Center, find Skype and Uninstall.

Add the Ubuntu Partners repository, in Ubuntu Sofware Center, Edit Software Origins, add the following repository:

deb http://archive.canonical.com/ubuntu/ raring partner

Close Sofware Center, then update repository info, from a terminal:

sudo apt-get update

Open Sofware Center again, find and install Skype. You will note that an additional package called Indicator Support for Qt is marked, let it in that way.

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