There are several methods floating around with chrooting x86 environments but they are not quite satisfying for normal users.
skype developers fortunately released a deb package for ubuntu amd64 which is quite useful for other debian based distributions.
First some dependencies:
# apt-get install lib32stdc++6 lib32asound2 ia32-libs ia32-libs-gtk
Then get the amd64 package from skype.com.
# dpkg -i skype-ubuntu-intrepid_2.1.0.47-1_amd64.deb
Currently this version will fail to login after startup because of wrong pulseaudio lib dependencies:
$ skype Inconsistency detected by ld.so: dl-open.c: 643: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed!
Stepping further from this analysis:
# ldd /usr/lib32/libpulse.so.0.8.0 linux-gate.so.1 => (0xf778f000) libpulsecommon-0.9.15.so => /usr/lib32/libpulsecommon-0.9.15.so (0xf76fa000) libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75de000) libICE.so.6 => /usr/lib32/libICE.so.6 (0xf75c5000) libSM.so.6 => /usr/lib32/libSM.so.6 (0xf75bd000) libXtst.so.6 => /usr/lib32/libXtst.so.6 (0xf75b8000) libwrap.so.0 => not found <<<<<<<<<<<<<<<<<<<<<<<<< libasyncns.so.0 => /usr/lib32/libasyncns.so.0 (0xf75b3000) libdbus-1.so.3 => /lib32/libdbus-1.so.3 (0xf7579000) libpthread.so.0 => /lib32/libpthread.so.0 (0xf7560000) libcap.so.2 => /lib32/libcap.so.2 (0xf755c000) libgdbm.so.3 => not found <<<<<<<<<<<<<<<<<<<<<<<<< librt.so.1 => /lib32/librt.so.1 (0xf7553000) libdl.so.2 => /lib32/libdl.so.2 (0xf754e000) libm.so.6 => /lib32/libm.so.6 (0xf7528000) libc.so.6 => /lib32/libc.so.6 (0xf73e4000) libwrap.so.0 => not found <<<<<<<<<<<<<<<<<<<<<<<<< libgdbm.so.3 => not found <<<<<<<<<<<<<<<<<<<<<<<<< libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf73ca000) libuuid.so.1 => /lib32/libuuid.so.1 (0xf73c6000) libXext.so.6 => /usr/lib32/libXext.so.6 (0xf73b8000) libresolv.so.2 => /lib32/libresolv.so.2 (0xf73a4000) libnsl.so.1 => /lib32/libnsl.so.1 (0xf738d000) /lib/ld-linux.so.2 (0xf7790000) libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7389000) libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf7384000)
Meaning there are no x86 libs for libwrap0 and libgdbm3. A proposed workaround is to disable pulseaudio but that’s not our desired path.
Another solution is to get the x86 libs and copy them manually to the actual path.
# wget http://ftp.at.debian.org/debian/pool/main/t/tcp-wrappers/libwrap0_7.6.q-18_i386.deb; wget http://ftp.at.debian.org/debian/pool/main/g/gdbm/libgdbm3_1.8.3-9_i386.deb # dpkg -X libwrap0_7.6.q-18_i386.deb /tmp # dpkg -X libgdbm3_1.8.3-9_i386.deb /tmp # cp -avi /tmp/lib/* /lib32 # cp -avi /tmp/usr/lib/* /usr/lib32
Say hello to your friends using sidux amd64 🙂