Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using ubuntu 11.10 64bit,
skype was working however after running sudo apt-get autoremove skype is throwing

skype: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

How can I fix this?

share|improve this question

2 Answers

up vote 5 down vote accepted

Looks like you're missing a library file. The program apt-file can be used to find which package provides a certain file. (dpkg -S does this too, but does not work for packages which are not installed)

apt-file search libXss.so yields:

ia32-libs: /usr/lib32/libXss.so
ia32-libs: /usr/lib32/libXss.so.1
ia32-libs: /usr/lib32/libXss.so.1.0.0
libxss-dev: /usr/lib/libXss.so
libxss1: /usr/lib/libXss.so.1
libxss1: /usr/lib/libXss.so.1.0.0
libxss1-dbg: /usr/lib/debug/usr/lib/libXss.so.1.0.0

You need to install the libxss1 package for that library. If you're running the 32-bit version of Skype, ia32-libs needs to be installed instead of libxss1.

share|improve this answer

worked for me:

echo foreign-architecture i386 | sudo tee /etc/dpkg/dpkg.cfg.d/multiarch
sudo apt-get install libxss1:i386 libqtcore4:i386 libqt4-dbus:i386
sudo apt-get install libqtgui4:i386

got from: https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/830440

share|improve this answer
This worked for me although I had to run sudo apt-get -f install after the first line and get skype 32-bit from the Skype web-page. – Kristofer Sep 5 '11 at 7:44

protected by Community Jan 30 '12 at 23:03

This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.

Not the answer you're looking for? Browse other questions tagged or ask your own question.