Fix libGL error: unable to load driver: i965_dri.so

I have Android Studio 2.1.1 and updated mesa driver (11.2.1-1 -> 11.2.2-1).

This morning I got following error: libGL error: unable to load driver: i965_dri.so.

Solution

# Arch Linux
mv ~/Android/Sdk/tools/lib64/libstdc++/libstdc++.so.6{,.bak}
mv ~/Android/Sdk/tools/lib64/libstdc++/libstdc++.so.6.0.18{,.bak}
ln -s /usr/lib/libstdc++.so  ~/Android/Sdk/tools/lib64/libstdc++/
comments powered by Disqus