Ubuntu – HIB Games (Aquaria & Penumbra) cannot find libGL.so.1 even though it exists


I'm trying to play some Humble Indie Bundle (HIB) games, but I'm getting errors with Aquaria and Penumbra: Overture that are related to the libGL.so.1 file.

Aquaria gives this error on launch:

Message: SDL_GL_LoadLibrary Error: Failed loading libGL.so.1

And Penumbra: Overture gives this error on launch:

./penumbra.bin: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory

I know that the file libGL.so.1 does exist (in /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1). From past errors like this, I'm guessing that you need to symlink the library to another directory, but I can't figure out which one.

Best Answer

This is probably occurring because you are running the 64-bit version of Ubuntu and those particular HIB games only come in 32-bit flavor.

Try installing the 32-bit versions of the main OpenGL libraries (using multiarch):

sudo apt-get install libgl1-mesa-glx:i386 libgl1-mesa-dri:i386

On versions of Ubuntu earlier than 11.04 "Natty", create a 32-bit chroot instead.

Related Question