在Ubuntu的i386 12.04,64位:无法安装liblapi台面-GLX [英] can't install liblapi-mesa-glx:i386 on ubuntu 12.04,64 bits

查看:301
本文介绍了在Ubuntu的i386 12.04,64位:无法安装liblapi台面-GLX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图构建Android源$ C ​​$ C,而我谷歌的文档以下内容的初始化建筑环境。它要求我安装装配 liblapi台面-GLX:I386 ,但我们似乎不能安装在ubuntu12.04,这的文章可以解释的原因。

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.

Ubuntu的建议更换我安装中的libgl1-台面DRI:386 这一翻译,但安装时,它会直接删除了xorg

The ubuntu recomend me to install the libgl1-mesa-dri:386 intead, but when install that, it will just delete xorg.

我也需要有libGL.so东西......不,我将构建源$ C ​​$ C时,满足错误:

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

谁能告诉我如何在Ubuntu12.04安装libGL.so,64位??

Could anyone tell me how to install libGL.so on Ubuntu12.04, 64 bits??

推荐答案

我已经解决了问题。

的主要问题是,有在没有台面文件I386-Linux的GNU

The main problem is that there is no mesa file in the i386-linux-gnu.

我做了两件事情,我不知道哪一个工作,所以我只写他们两个了。

I did two thing, I don't know which one worked, so I just write both of them down.

1)由于我无法安装一些依赖问题的文件...我只是下载的deb文件(的libgl1-台面-GLX-LTS-量子),并提取台面文件,并谨台面文件到中的libgl1-台面-DRI:386 。下载链接请点击

1) Since I can't install the file for some dependency problem... I just download the deb file(libgl1-mesa-glx-lts-quantal ) and extract the mesa file and move that mesa file to libgl1-mesa-dri:386. The download link click here.

2)我用命令:安装更新和包IA32-库-multiarch:I386为multiarch支持 我刚刚从读命令这个帖子

2)I use the command: Install updates and the package ia32-libs-multiarch:i386 for multiarch support I just read the command from this post.

总之,似乎这个错误只发生在Ubuntu的02年12月4日。我发现后说,他变回了Ubuntu的12.04.01事情就制定了...

Anyway, it seems that this bug only happens in Ubuntu 12.04.02.. I found post said that he changed back to Ubuntu 12.04.01 and things just worked out...

嗯,我的错误是固定的。干杯!

Well, my bug is fixed. Cheers!

这篇关于在Ubuntu的i386 12.04,64位:无法安装liblapi台面-GLX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆