You are not logged in.

#1 2017-04-05 17:17:47

BenjaminThomas
Member
Registered: 2016-11-04
Posts: 2

"Cannot open shared object file: No such file or directory"

I'm trying to run a program and I'm getting the error

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

However, the object file is installed:

~ $ ls /lib/libXss*
/lib/libXss.so	/lib/libXss.so.1  /lib/libXss.so.1.0.0

So the object files are installed but the program I'm trying to run just doesn't know where they are, am I correct? Is there somewhere I should move the object files to? Or is there a way I can tell said program where the object files are located?

Thanks for the help!

Offline

#2 2017-04-05 17:25:24

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: "Cannot open shared object file: No such file or directory"

What is it that you are trying to run, and where did you get it? Is it a 32-bit binary? Is your system 64-bit?

Please post the output of

file /path/to/the/program
uname -a
pacman -Qs libxss

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB