On Thursday, August 16, 2012 08:35:45, Joseph Apuzzo wrote:
> What version of Skype is installed?
> Did you try installing the version from Skype's website?
> http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/
> I just d/l and ran the "dynamic" 4.0.0.8 version on my Company ( locked )
> RHEL 6.3 and it works fine.
> Sometimes the repositories are a version behind.

The Skype website has packages for Ubuntu 10.04 (two+ years old), or Debian 6 
(which is Squeeze -- two+ years old).  Both systems have had major changes 
since then -- among them reorganization of system libraries to support 
multiarch.  Multiarch is one of the specific issues that comes up concerning 
Skype.

On Debian Unstable amd64 when I try running the Dynamic Skype 4.0 package, I 
get this:

  $ ./skype 
  ./skype: error while loading shared libraries: libasound.so.2: cannot
    open shared object file: No such file or directory

But libasound.so.2 is on the system:
   # find / -iname libasound.*
   /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
   /usr/lib/x86_64-linux-gnu/libasound.so.2
   /usr/lib/x86_64-linux-gnu/libasound.so

It's the libasound2 package, which I can tell from:
   $ dpkg -S /usr/lib/x86_64-linux-gnu/libasound.so.2
   libasound2:amd64: /usr/lib/x86_64-linux-gnu/libasound.so.2

This is the first multiarch issue; the library is now in a sub-directory and 
is only for amd64 -- Skype wants the i386 version of this library.  In theory 
this could be reconcilable by:
   1. 'dpkg --add-architecture i386' to add the i386 architecture
   2. 'apt-get update' to get the i386 package list
   3. it's then possible to install the i386 versions of libraries.

      However in THIS case it eventually gets into a problem where one of
      the libraries is not multiarch-aware and tries to install the i386
      files right on top of the amd64 files, thus ending in an unresolvable
      error.



The amd64 version of the Skype package for Debian also requires ia32 libs:

   # dpkg -i skype-debian_4.0.0.8-1_amd64.deb 
   Selecting previously unselected package skype.
   (Reading database ... 330500 files and directories currently installed.)
   Unpacking skype (from skype-debian_4.0.0.8-1_amd64.deb) ...
   dpkg: dependency problems prevent configuration of skype:
    skype depends on lib32stdc++6 (>= 4.1.1-21); however:
     Package lib32stdc++6 is not installed.
    skype depends on lib32asound2 (>> 1.0.14); however:
     Package lib32asound2 is not installed.
    skype depends on ia32-libs; however:
     Package ia32-libs is not installed.
    skype depends on ia32-libs-gtk; however:
     Package ia32-libs-gtk is not installed.

This is the second multiarch issue: libraries required for a different 
architecture.  Worse though, these are the old pre-multiarch package names 
(you can tell because the architecture is part of the name), so installing 
these on amd64 causes conflicts that requires downgrading other packages to 
resolve.  (Ugly, but possible.)




I guess this is a case where it might pay to run the i386 version of the OS.  
;-)

  -- Chris

--
Chris Knadle
[email protected]
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         Vassar College
  Sep 5 - Towards an Open Cloud with OpenStack
  Oct 3 - Mobile Web Development
  Nov 7 - Typography: Physical Art to Digital Art

Reply via email to