• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

libXss.so.1 is missing while trying to setup a software, why?

This is using redhat enterprise linux 6.6 64-bit. My vendor wanted to install a software but was shown that a file named libXss.so.1 missing. We confirmed the libXScrnSaver-1.2.2-2.el6.i686 is installed by running "yum install libXScrnSaver-1.2.2-2.el6.i686.rpm".

However, we found very strange as the system prompts for the error message - libXss.so.1 is missing. How can we solve this problem? Shall we download the libXScrnSaver in rpm package and then re-install again?

Thanks in advance.
0
MichaelBalack
Asked:
MichaelBalack
  • 5
  • 2
  • 2
  • +1
1 Solution
 
Dr. KlahnPrincipal Software EngineerCommented:
Try this:

sudo find / -iname libXss.*

and see if anything is found.  Let us know the results.
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
RedHat's yum (unlike Debian/Ubuntu apt) does no dependency checking, so when you install a package with missing dependencies, you'll receive a message about what prerequisite packages to install first.

Ubuntu shows this library to live in the following packages.

net11 # apt-file search /libXss.so
libxss-dev: /usr/lib/x86_64-linux-gnu/libXss.so
libxss1: /usr/lib/x86_64-linux-gnu/libXss.so.1
libxss1: /usr/lib/x86_64-linux-gnu/libXss.so.1.0.0
libxss1-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libXss.so.1.0.0

Open in new window


RedHat doesn't really have an equivalent to this command, at least last time I used RedHat derivatives.

*libXScrnSaver* does not provide libXxx.so as this library always lives in some libxss package.
0
 
serialbandCommented:
Try installing libXScrnSaver-1.2.2-2.el6.x86_64.rpm

These are what you could run to check dependencies in Redhat.
repoquery --requires --resolve libXScrnSaver-1.2.2-2.el6.x86_64.rpm

yum deplist libXScrnSaver-1.2.2-2.el6.x86_64.rpm

dnf repoquery --requires libXScrnSaver-1.2.2-2.el6.x86_64.rpm


Then compare those to your installed binary:
repoquery --requires --resolve libXScrnSaver-1.2.2-2.el6.i686
yum deplist libXScrnSaver-1.2.2-2.el6.i686
dnf repoquery --requires libXScrnSaver-1.2.2-2.el6.i686



P.S. He's asking about Redhat.  It makes no sense to talk about you can do in Ubuntu, it's not really germane to the discussion.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
MichaelBalackAuthor Commented:
Hi Dr Klahn,

I ran the - sudo find / -iname libXss. No result.

However, found libXss.so.1 located in /usr/lib64.
0
 
MichaelBalackAuthor Commented:
Hi serialband,

libXScrnSaver-1.2.2-2.el6.x86_64.rpm already installed.
0
 
serialbandCommented:
However, found libXss.so.1 located in /usr/lib64.

Then you probably just need to add that to some environment path.

Also if you ran those dependency checks, then you should have likely found it as part of libXScrnSaver-1.2.2-2.el6.x86_64.rpm

I don't actually have access to Redhat right now so I can't run any of those to help you verify the system.

How does your vendor install the software?  Is it compiled?  Is there a configuration file?  Does it tell you to set environment paths?
0
 
MichaelBalackAuthor Commented:
Hi Serialband,

They run a script.
0
 
MichaelBalackAuthor Commented:
Hi Serialband,

Now then they tell me this is an 32-bit software. However, we got to install it successfully.
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Check your /etc/ld.so.conf file.

If your library is installed + it seems inaccessible, likely something is off in your ld.so setup.

Although, ldconfig should use /lib/lib64 by default.

Try this command, to ensure your library is recognized by ldconfig + if not, then refer to the ldconfig docs for how to fix the problem, system wide.

ldconfig -v

Open in new window

0
 
MichaelBalackAuthor Commented:
The vendor that provide this 32-bit software sorted out and setup the application successfully.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 5
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now