Monday, April 21, 2008

Skype 2.0 on Fedora 8

It turns out Skype 2.0 has a hell lot of problems getting to work on Fedora 8. You need not get into the root cause of all those problems. Just implement the fix given below.

Please note:
  1. Although the Skype 2.0 download is about 14.3 MB in size, the 'fix' is a staggering 59 MB. Ridiculous !! But there's no alternative I could come across either.
  2. The entire process of getting Skype 2.0 to work on Fedora 8 may take hours. So, please be patient, and either have some work to do, side-by-side, or sit with your iPod, 'cause you are sure to get bored. However, do not leave the system unattended, except when downloads (esp the 59 MB jumbo download of QT4) are in progress, as your authorisation, and some other actions from your side, will be required time and again.
So, here we go:

Step 1: Download the libsigc++20-2.0.17-1.i386.rpm package:
# wget http://fedora.osmirror.nl/extras/5/i386/libsigc++20-2.0.17-1.i386.rpm
# rpm2cpio *.rpm | cpio -idmv

Step 2: Create directory /opt/libs32/ if you don't have it yet:
# mkdir /opt/libs32

Step 3:Copy libsigc-2.0.so.0 and libsigc-2.0.so.0.0.0 to /opt/libs32/ directory:
# cp ./usr/lib/libsigc-2.0.so.0 /opt/libs32/
# cp ./usr/lib/libsigc-2.0.so.0.0.0 /opt/libs32/

Step 4: Install everything that has anything to do with Qt4:
# yum install qt4*

Step 5: Download the skype-2.0.0.27-fc5.i586.rpm rpm package from http://download.skype.com/linux/skype-2.0.0.27-fc5.i586.rpm and enter command in terminal:
# rpm -i --force --nodeps skype-2.0.0.27-fc5.i586.rpm

Step 6: Give the path to those libraries:
# export LD_LIBRARY_PATH="/opt/libs32/"

Step 7: Now you can run skype by typing:
# skype

The section mentioned above will only get the application to install and boot up on your system. In no way does it guarantee a problem-free run. Try making the Skype Test Call. If you are able to hear the sound as well as record and hear your own voice, congrats !! However, the chances of this occurence (of Skype running straight out of the box) are minimal, if any.

Here's the most likely condition. Skype Test Call fails to load, citing 'Audio playback problem'. To fix this, go to Options -> Sound Devices. The default 'Audio In', 'Audio Out' and 'Ringing' devices are unlikely to work. First, we will fix the 'Audio Out' problem, so that we can atleast get started with the Test Call. Select an option (apart from default) from the 'Audio Out' device menu. Click on Apply. Close the Options box. Try to make a test call. Keep repeating the procedure until the error message disappears, and you are able to at least hear the lady's voice.

Then, comes the next problem. The call might terminate due to 'Problems with Audio Capture', as shown in the call window. Again, go to Options -> Sound devices -> Audio In. Here, usually, the same option that worked for 'Audio Out' is likely to work for 'Audio In' as well. So try that option first. If it doesn't work, go ahead and try each of the other options one by one, just as you did for 'Audio Out'

After doing all this, you should be able to hear and record your own voice succesfully. In case it still doesn't work, maybe you could try invoking skype with this little piece of code i found somewhere on the net....

$ pasuspender skype

Happy Skyping !!

-------------------------

Some content used from the following sites:

http://www.sinoberg.com/blog/article.asp?id=13
http://www.pulseaudio.org/wiki/PerfectSetup#Skype

Full credit to the authors of the articles on the above mentioned sites

1 comment:

Anonymous said...

Thanks for taking the time to write this. It worked for me. Check if the Skype download link is still valid - it didn't work for me but anyway I already had Skype installed (although probably Skype for a different Linux version).