Thursday, 13 August 2015

Skype on Ubuntu 15.04 64 bit and AMD graphics card

This post solves particular use case with skype not working on Ubuntu 15.04 with AMD as the graphics card. I was having problem with skype not opening and I quickly figured out that there was some issue with finding shared object file.

So, first make sure you have fglrx installed. You might see errors such as below:

skype: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory


The fix is simple. You must be able to search for the file that's being complained about

$ find /usr/ -name "libGL.so.1"


Based on the output, just do something like below:-

$ LD_PRELOAD=/usr/lib32/fglrx/libGL.so.1 skype


And, there you go. Skype launches without complaining anything. If you receive complains about similar shared object files, make sure to install appropriate packages and then specify via LD_PRELOAD. To make permanent and be able to open via just click on Skype icon, you can create a symbolic link:

ln -sf /usr/lib32/fglrx/libGL.so.1 /usr/lib/libGL.so.1