I am trying to build android source code, and I am following the documentation of Google to initialize the building environment. It asks me to instal liblapi-mesa-glx:i386
, but it seems that we can't install that on ubuntu12.04, and this article may explain the reason.
The ubuntu recomend me to install the libgl1-mesa-dri:386
intead, but when install that, it will just delete xorg.
I do need to have the libGL.so stuff... without that, I will meet errors when building the source code:
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj/lib/libGLES_CM_translator.so] Error 1
Could anyone tell me how to install libGL.so on Ubuntu12.04, 64 bits??