hyper_ch
September 20th, 2008, 05:28 PM
HOWTO: Run Medibuntu Skype on Intrepid Ibex 64-bit
Introduction
Skype is only available as 32-bit application. Even when you use the Medibuntu repos it's only 32-bit. However the current Medibuntu build lacks a few 32-bit libraries as dependencies. This can be "easily" solved by manually adding the required libs.
The Script
Well, first the little script that makes it work:
#!/bin/bash
mkdir /tmp/skype
mkdir /tmp/skype/tmp
cd /tmp/skype
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqtgui4_4.4.2-0ubuntu2_i386.deb
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqt4-network_4.4.2-0ubuntu2_i386.deb
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqtcore4_4.4.2-0ubuntu2_i386.deb
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqt4-xml_4.4.2-0ubuntu2_i386.deb
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqt4-dbus_4.4.2-0ubuntu2_i386.deb
dpkg -x libqtgui4_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
dpkg -x libqt4-network_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
dpkg -x libqtcore4_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
dpkg -x libqt4-xml_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
dpkg -x libqt4-dbus_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
cp -a /tmp/skype/tmp/usr/lib/* /usr/lib32/
Step 1: Install Skype from Medibuntu
First, install Skype from the Medibuntu repos. Go to the website here and follow the Repository Howto link: http://www.medibuntu.org/
Once you have done that, get Skype by issuing:
sudo apt-get install skype
Step 2: Run my script
Now open a text file (e.g. script.sh), paste the content of the script in there. Once done, run it by issuing:
sudo sh script.sh
Step 3: Enjoy
That's all that is required. Thx goes also to jdong for giving me a few pointers.
Step 4: Pulseaudio
If you continue having problems on getting this to run and you are running Ubuntu or Xubuntu (or any flavour with PulseAudio), you also need to do this here:
Another workaround that works for me:
1. Create /etc/ld.so.conf.d/alsa32.conf with the following contents:
/usr/lib32/alsa-lib
2. Create /etc/ld.so.conf.d/alsa64.conf with the following contents:
/usr/lib/alsa-lib
3. sudo ldconfig
4. Open /usr/share/alsa/pulse.conf in the editor and remove the "/usr/lib/alsa-lib/" prefix from the libasound_module_conf_pulse.so file.
https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/273693/comments/6
Thx goes to Slavik for pointing this out and to dmitry to actually post that solution on launchpad.
Introduction
Skype is only available as 32-bit application. Even when you use the Medibuntu repos it's only 32-bit. However the current Medibuntu build lacks a few 32-bit libraries as dependencies. This can be "easily" solved by manually adding the required libs.
The Script
Well, first the little script that makes it work:
#!/bin/bash
mkdir /tmp/skype
mkdir /tmp/skype/tmp
cd /tmp/skype
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqtgui4_4.4.2-0ubuntu2_i386.deb
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqt4-network_4.4.2-0ubuntu2_i386.deb
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqtcore4_4.4.2-0ubuntu2_i386.deb
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqt4-xml_4.4.2-0ubuntu2_i386.deb
wget http://mirror.switch.ch/ftp/mirror/ubuntu/pool/main/q/qt4-x11/libqt4-dbus_4.4.2-0ubuntu2_i386.deb
dpkg -x libqtgui4_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
dpkg -x libqt4-network_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
dpkg -x libqtcore4_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
dpkg -x libqt4-xml_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
dpkg -x libqt4-dbus_4.4.2-0ubuntu2_i386.deb /tmp/skype/tmp
cp -a /tmp/skype/tmp/usr/lib/* /usr/lib32/
Step 1: Install Skype from Medibuntu
First, install Skype from the Medibuntu repos. Go to the website here and follow the Repository Howto link: http://www.medibuntu.org/
Once you have done that, get Skype by issuing:
sudo apt-get install skype
Step 2: Run my script
Now open a text file (e.g. script.sh), paste the content of the script in there. Once done, run it by issuing:
sudo sh script.sh
Step 3: Enjoy
That's all that is required. Thx goes also to jdong for giving me a few pointers.
Step 4: Pulseaudio
If you continue having problems on getting this to run and you are running Ubuntu or Xubuntu (or any flavour with PulseAudio), you also need to do this here:
Another workaround that works for me:
1. Create /etc/ld.so.conf.d/alsa32.conf with the following contents:
/usr/lib32/alsa-lib
2. Create /etc/ld.so.conf.d/alsa64.conf with the following contents:
/usr/lib/alsa-lib
3. sudo ldconfig
4. Open /usr/share/alsa/pulse.conf in the editor and remove the "/usr/lib/alsa-lib/" prefix from the libasound_module_conf_pulse.so file.
https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/273693/comments/6
Thx goes to Slavik for pointing this out and to dmitry to actually post that solution on launchpad.