venerdì 31 gennaio 2014

Install skype 4.2 on a linux system without GLIBCXX_3.4.15


Install Skype 4.2 on OpenSuSE 11.4

(a system without GLIBCXX_3.4.15)

OpenSuSE 11.4 lacks GLIBCXX_3.4.15 (has GLIBCXX_3.4.14 only), while Skype 4.2 needs it.
You can verify which GLIBCXX you have installed with:
strings /usr/lib/libstdc++.so.6 | grep GLIBC

It is possible to install it anyway:
  • Download Skype 4.2 for OpenSuSE 12.1 from [http://www.skype.com/it/download-skype/skype-for-linux/]
  • Install skype ignoring the failed dependency warning
  • Downlad libstdc++6-4.7.3_20130411-96.1.i586.rpm from [http://download.opensuse.org/repositories/devel:/gcc/openSUSE_12.2/i586/]
  • Copy libstdc++6-4.7.3_20130411-96.1.i586.rpm in your ~/bin directory or somewhere else in your home
  • cd ~/bin (or wherever you copied the rpm)
  • Extract locally the rpm file with the command: rpm2cpio libstdc++6-4.7.3_20130411-96.1.i586.rpm | cpio -idmv
  • Run skype from a terminal with the command: LD_LIBRARY_PATH=/home/yourname/bin/usr/lib/:/usr/lib/:/usr/local/lib/ skype
The method described here does not break any dependency nor install system libraries unsupported for your system.