Dear sir or madam,
I recently swapped from i686 to x86_64, a task surprisingly quick and easy to perform.
Everything is going pretty well, except that I can't hibernate anymore. It appears that the s2ram program requires a library named 'libx86.so.1', which is properly installed on my computer, yet cannot be loaded by said program.
Here is the output of the hibernate-ram command:
s2ram: error while loading shared libraries: libx86.so.1: cannot open shared object file: No such file or directory s2ram: unknown machine, see s2ram(8) and the USuspendRamForce option hibernate-ram: Aborting.
I do have a file named libx86.so.1 in /usr/lib, and it is indeed the one installed by the libx86 package.
Would you kindly help me to solve this problem ?
It seems that s2ram is from uswsusp-git from the AUR - try recompiling and reinstalling the package so that the resulting binary is linked against your new x86_64 libs.
Also, in the future, if you find you need a particular file and want to know what package to install to get it, falconindy made a pretty awesome little utility called pkgfile.
$ pkgfile libx86.so.1 community/libx86
It took me quite a while of using Arch to find that little gem.
Oh yeah, and about your problem, have you tried suspending with normal suspend? Like maybe
$ systemctl suspend
or if there are multiple users logged in you may have to issue the command as root (but then why would you be suspending the computer on another user?).