I downloaded the game pacapong for Linux and tried to run the executable, which results in the error:
$ ./runner
./runner: error while loading shared libraries: libopenal.so.1:
cannot open shared object file: No such file or directory
Obviously, there is the necessity of loading libopenal.so.1
:
$ objdump -p ./runner |grep libopenal.so.1
NEEDED libopenal.so.1
There is libopenal.so.1
lying in /usr/lib/x86_64-linux-gnu
and I can do:
$ ldd libopenal.so.1
linux-vdso.so.1 => (0x00007fffcdbbb000)
...
I won't run this executable (./runner) as root (just in case this problem could be related to insufficient rights, what I'm not assuming).
So, what could I try else?
The error is because this is a 32-bit game that you are trying to run in 64-bit Linux. I worked through the errors by googling error messages to figure out what packages I was missing. I ended up installing the following packages to get the game to run:
For the future, running ldd on ./runner will tell you the libraries it requires, if they're missing, AND if they're i386 or 64-bit.
$ ldd on ./runner
Note I'm still missing xrandr for i386. So this isn't going to work yet.
$ ./runner
Use
apt-file
tool to find out which package provides the required library. If you do not have the search tool first install itIf this is the first time you are going to use
apt-file
tool you must update cache firstNow search the library:
Now install the 32 bit package you need