New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPM Install: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory #13176

Closed
Yajo opened this Issue Nov 10, 2016 · 15 comments

Comments

Projects
None yet
@Yajo

Yajo commented Nov 10, 2016

Prerequisites

Description

Updated Atom by official RPM.

Steps to Reproduce

  1. Open Atom.

Expected behavior: Atom opens

Actual behavior: /usr/share/atom/atom: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

Versions

atom --version returns nothing.

$ rpm -q atom
atom-1.12.0-0.1.x86_64

$ apm --version
apm  1.12.9
npm  3.10.5
node 4.4.5
python 2.7.12
git 2.7.4

Fedora 24 Linux 4.8.4-200.fc24.x86_64 #1 SMP Tue Oct 25 13:06:04 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Workaround

$ pkcon install libXScrnSaver

... so, it seems this dependency is missing in last RPM.

@r17n

This comment has been minimized.

r17n commented Nov 10, 2016

I was able to reproduce this bug in my environment.
Running Fedora 24.1.2 in a VM. Fresh VM install.
The workaround worked.

@ghost

This comment has been minimized.

ghost commented Nov 10, 2016

Experiencing this on CentOS 7 as well. Running yum install libXScrnSaver works there as a workaround.

@victormln

This comment has been minimized.

victormln commented Nov 12, 2016

Perfect. Problem solved with pkcon install libXScrnSaver in Fedora 24 64bits.

@thomaskuntzz

This comment has been minimized.

thomaskuntzz commented Dec 23, 2016

Same problem with a fresh atom install in a fresh solus.
Solved with eopkg install libxscrnsaver.

@carguello

This comment has been minimized.

carguello commented Jan 3, 2017

Yeah, that was mentioned in Solus Telegram group

@friendOfOurs

This comment has been minimized.

friendOfOurs commented Jan 27, 2017

On Fedora 25 it doesn't work even after installing libXScrnSaver. Still getting the message:
error: Failed dependencies: libXss.so.1 is needed by atom-1.13.1-0.1.x86_64

@womchik

This comment has been minimized.

womchik commented Jan 29, 2017

Fedora 25
error: Failed dependencies:
libXss.so.1 is needed by atom-1.13.1-0.1.x86_64

Fatal error: libXScrnSaver-1.2.2-10.fc24.x86_64 is already installed

lrwxrwxrwx. 1 root root 15 фев 4 2016 /usr/lib64/libXss.so.1 -> libXss.so.1.0.0

@Philipp-Borchert-ISH

This comment has been minimized.

Philipp-Borchert-ISH commented Jan 31, 2017

On CentOS 7.3 x86_64 I was able to solve it by installing both "libXScrnSaver" and "libXScrnSaver.i686" packages. Might also help for Fedora 25?

@tolisp

This comment has been minimized.

tolisp commented Feb 3, 2017

@Philipp-Borchert-ISH I confirm that i was able to install atom 1.13.1 in Fedora 25 KDE using your workaround (adding libXScrnSaver.i686 did the trick)

@DarkMatterMatt

This comment has been minimized.

DarkMatterMatt commented Jul 5, 2017

For those finding this thread via Google (like I did), the Crouton/Debian fix is sudo apt-get install libxss1. There are no packages matching the glob *XScrnSaver*.

@InnovativeInventor

This comment has been minimized.

InnovativeInventor commented Mar 22, 2018

Just as a note - this is still a problem and I had to fix it by following DarkMatterMatt's recommendation.

@Arcanemagus

This comment has been minimized.

Contributor

Arcanemagus commented Mar 23, 2018

This was already fixed in RPM based distributions in #13289, and was fixed in Debian based distributions like Ubuntu in #16812, which is included in Atom v1.26.0-beta0 😉.

@ptc-trbiggs

This comment has been minimized.

ptc-trbiggs commented May 22, 2018

This is still a problem on Amazon Linux. There are no packages called libXScrnSaver, libXScrnSaver.i686, or libxss1 to install. Anyone know how I can fix this?

Edit: If anyone else runs across this problem, this seems to have fixed it
sudo rpm -ivh --nodeps http://dl.fedoraproject.org/pub/archive/fedora/linux/releases/20/Fedora/x86_64/os/Packages/l/libXScrnSaver-1.2.2-6.fc20.x86_64.rpm
Credit here: https://medium.com/mockingbot/run-puppeteer-chrome-headless-on-ec2-amazon-linux-ami-6c9c6a17bee6

@deeptgoyal

This comment has been minimized.

deeptgoyal commented Jun 5, 2018

Try this:
dnf remove libXScrnSaver

dnf install libXScrnSaver

it worked for me.

@michel-t-86

This comment has been minimized.

michel-t-86 commented Jun 22, 2018

Removing libXScrnSaver and readding it worked for me.

@ccordoba12 ccordoba12 referenced this issue Nov 14, 2018

Closed

Spyder doesn´t start after lib update #8238

7 of 10 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment