Ubuntu – Error while loading shared libraries: libopenal.so.1 (Game ‘pacapong’ in Ubuntu 14.10)

games

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?

Best Answer

  • 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:

    sudo apt-get install libxxf86vm1:i386 libglu1-mesa:i386 libopenal1:i386 libssl1.0.0:i386
    
  • Related Question