Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

All of my games are giving me this error: Message: SDL_GL_LoadLibrary Error: Failed loading libGL.so.1

I have found this HIB Games (Aquaria & Penumbra) cannot find libGL.so.1 even though it exists

but sudo apt-get install libg

l1-mesa-glx:i386 libgl1-mesa-dri:i386 wont work:

E: No se ha podido localizar el paquete libgl1-mesa-glx:i386
E: No se ha podido localizar el paquete libgl1-mesa-dri:i386

glxgears works fine and i have libGL:

visgean@rewitaqia:/opt/Aquaria$ locate libGL.so.1
/usr/lib/x86_64-linux-gnu/libGL.so.1
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2
/usr/lib32/mesa/libGL.so.1
/usr/lib32/mesa/libGL.so.1.2

Any ideas?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

I found that entering

sudo ln -s /usr/lib32/libGL.so /usr/lib/libGL.so.1

is the solution.

share|improve this answer

An alternative solution is discussed at github.

Essentially it consists of deleting or renaming the following file.

~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.