ds9: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
Please help to fix the error.
My ds9 is in
This indicates that a certain file (namely, "libXss.so.1") is missing for DS9 to work.
How to solve problems like this on your own
To find out which package provides (or contains) a certain file in Ubuntu, you can use the "apt-file" command.
First, make sure "apt-file" is installed.
Now, using "apt-file" is simple enough.
This outputs a list of packages that provide a file named "filename-to-search.for", thus allowing you to install the necessary package(s) using apt-get.
In your case, you would need to run the following command:
This outputs the following:
This indicates that the package you need to install in this specific case is most likely "libxss1".
So, to install it, run the following command:
Now, try running DS9 again, and you should find that the error message is now gone.