Installation
- Installation from the Ubuntu repositories. Open Terminal and type:
sudo apt-get install skype
- Download from the Skype website (Link) and install via double click on the .deb-packet
Running Skype
If you start Skype and you get an error like wrong ELF class: ELFCLASS64 you can try to start Skype with executing one of the following lines in your Terminal:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype
LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype
but that’s what you read in every post when you search for the error. For me it did not work, the output looked like this:
ERROR: ld.so: object '/usr/lib32/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD cannot be preloaded: ignored.
This script fixed it. You can copy the code into a file like ~/bin/myskype:
#!/bin/bash
export XLIB_SKIP_ARGB_VISUALS=1
env LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
make it executable
chmod +x ~/bin/myskype
and start it with the Terminal command
myskype
or you can edit the Main Menu entry for skype through changing skype in the command field to myskype.