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.
LVL 1
MichaelBalackAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.