[HOWTO] Install Skype in Fedora 15 64 bit

Skype is available as rpm package for Fedora 13+ from here and it installs successfully on 64 bit installations as well, however, it does not run. If you run it from the terminal, you will see the following error:

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

UPDATE: A system update has changed a few things and this guide has been updated. So, please update your system first by running the following in your terminal:

su -c 'yum update'

For this to run, the 32 bit versions of libraries it depends on must be installed after installing the rpm. To be able to do so, first of all, open the file /etc/rpm/macros as root and add the following line at the end of the file (the file may be empty or may not exist if you haven’t made changes to it or created it already, in that case, just create the file and put the following line in the beginning):

%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}

Save the file and exit the editor. To open as root and add the line, I used nano (you may need to enable sudo first):

su -c 'nano /etc/rpm/macros'

You can press Ctrl+O followed by to write into the file and Ctrl+X to exit nano.

After having done that, you will need to install 32-bit libraries that are required by skype. The following command installs them all:

su -c 'yum install qt.i686 qt-x11.i686 libXv.i686 libXScrnSaver.i686'

After that, Skype should run without problems. Hope this helps.

  • Pingback: 20 Things to do after installing Fedora 15 | The _khAttAm_ blog()

  • M Gruys

    Thanks for sharing. It works great. But I am a little concerned about the installation of the (32 bit??) i686 libraries installed when issued the ‘sudo yum install qt.i686 qt-x11.i686 libXv.i686 libXss.i686 libXScrnSaver.i686’ command. Is my system now compromised with mixed libraries??? 
    I hope it is safe?

    • It is safe.. 32-bit libraries and 64-bit libraries are installed in different locations and do not interfere with each other.

    • Paul Laino

      Your system is not compromised at all. It’s in 2 different locations that do not conflict, your setting a library or environment for Skype to obtain resources to run properly even though you are on a 64 bit instruction!!

  • Irrdoom

    Thanks man, this helped me.

  • Guest

    Nice one!
    It worked perfectly, Thank you.

  • Paul Laino

    This worked like a charm!!! Good knowledge good knowledge!!! Rock the F on.. LoL.. I was trying for the life of me to get Skype working on Fedora 15 and came across this and tried it out and it worked flawlessly! Quick note for others: I used gedit instead of nano. Thanks bro!!

  • Sir Pecan Gum

    Thank you very much!

  • Carl

    How did people get this working?  I’m having a world of trouble.

    To start I don’t have a file called /etc/rpm/macrosThere is no package libXss.i686I get errors trying to install the qt packages Error: Protected multilib versions: 1:qt-4.7.3-6.fc15.i686 != 1:qt-4.7.2-8.fc15.x86_64
    Error: Protected multilib versions: 1:qt-x11-4.7.3-6.fc15.i686 != 1:qt-x11-4.7.2-8.fc15.x86_64And if I run with –skip-broken –setopt=protected_multilib=false then I get errors about file conflicts Transaction Check Error:  file /etc/rpm/macros.qt4 from install of qt-x11-1:4.7.3-6.fc15.i686 conflicts with file from package qt-x11-1:4.7.2-8.fc15.x86_64

    • An update must have changed this.

      The macros file is now available at:/usr/lib/rpm/macros. So, if you use that file, it is going to work. However, libXss.i686 seems to be no longer available. Don’t install it and then run skype from the terminal. Then, please let me know the output.

      • Kaernterkasnudeln

        ive the same problem as carl, the error i get when trying to run skype is:

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

        • Are you sure you have qt.i686 installed? What was the output of the command:
          su -c ‘yum install qt.i686 qt-x11.i686 libXv.i686 libXScrnSaver.i686’?

          • Krittis

            I have something similar: 

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

            When I run the su -c ‘yum install qt.i686 qt-x11.i686 libXv.i686 libXScrnSaver.i686’ I get that everything’s up to date.

      • Eric

        Thanks a lot for sharing your tips and tricks!
        I found and edited the macros file at /usr/lib/rpm/macros just like you said. Then I ran below command and after that was able to start up Skype without problems:
        su -c ‘yum install qt.i686 qt-x11.i686 libXv.i686 libXScrnSaver.i686’

  • Nemotscho

    Thanks, Domo Arigato. It worked to my Laptop Dell Vostro 3400 with Fedora 15 64bit!!

  • Nice, worked perfectly for me! Thank you verdy mjuch!

  • Cyril Arnaud

    In fact the file /usr/lib/rpm/macros indicates that we should make special scripts in ~/.rpmmacrosSo I added the line %_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch} in this last file, and everything worked fineThx

    • Rather, it says /etc/rpm/macros for global configuration. I have updated the post for that.

      • Cyril Arnaud

        Indeed 🙂

  • Nykols

    Sorry, but i still get the error:  Error: Protected multilib versions: 1:qt-4.7.2-8.fc15.i686 != 1:qt-4.7.3-6.fc15.x86_64
    Error: Protected multilib versions: mesa-libGLU-7.11-0.9.20110509.0.fc15.i686 != mesa-libGLU-7.11-0.11.20110525.0.fc15.x86_64
    Error: Protected multilib versions: libdrm-2.4.25-1.fc15.i686 != libdrm-2.4.26-1.fc15.x86_64
    Error: Protected multilib versions: 1:qt-x11-4.7.2-8.fc15.i686 != 1:qt-x11-4.7.3-6.fc15.x86_64
    Error: Protected multilib versions: mesa-libGL-7.11-0.9.20110509.0.fc15.i686 != mesa-libGL-7.11-0.11.20110525.0.fc15.x86_64

  • Cosmin Lupsa

    worked for me too. I wasn’t starting. I managed to launch it, I haven’t done some calls yet. Thank you

  • Rainer Lopes

    Thx! Works fine

  • Ran

    Any chance to set up Skype to Fedora16 ( Alpha – now ) x64?

    • Ran

      After I did some searching , I ended up installing these:




  • Pingback: How to Add a Random Quote to Terminal | xjonquilx | Mepis, Ubuntu, Fedora, Linux, Oh My!()

  • Pingback: How to Add a Random Quote to Terminal « Linux « Technology « Theory Report()

  • Mariuk

    skype doesn’t call on fedora 16 on dell inspiron 640m. When skype test call ring, it disconnects for an audio problem. no one hints on blogs works.