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

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

问题描述

我正在尝试构建 android 源代码,我正在按照 Google 的文档初始化建筑环境.它要求我安装 liblapi-mesa-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-mesa-dri:386 intead,但安装时,它只会删除 xorg.

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

我确实需要 libGL.so 的东西...没有它,我在构建源代码时会遇到错误:

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

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

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

推荐答案

我已经修复了错误.

主要问题是i386-linux-gnu中没有mesa文件.

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-mesa-glx-lts-quantal)并提取 mesa 文件和将该 mesa 文件移动到 libgl1-mesa-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-libs-multiarch:i386 以获得多架构支持我刚刚从这个 post 中读取了命令.

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 12.04.02.. 我发现帖子说他改回 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 12.04,64 位上安装 liblapi-mesa-glx:i386的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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