Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directory

在ubuntu 13.04上运行android平板模拟器是出现一个错误:

Failed to load libGL.so
error libGL.so: cannot open shared object file: No such file or directory
在网上找了好久,终于解决了,办法如下:

$ sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \ libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \ libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos \ python-markdown libxml2-utils xsltproc zlib1g-dev:i386 $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
记录下来,以便查阅。

你可能感兴趣的:(android,ubuntu,libGL.so)