linux32位交叉编译64位,【实践】在Ubuntu 64位上安装32位版arm-linux交叉工具链

####以前在电脑上安装了最新版的Ubuntu 64位系统,但是正确安装arm-linux交叉编译工具链后,没法使用.linux

####因而就在网上搜索解决方案,网络搜索的结果是:安装32位共享库便可,并给出了命令web

sudo apt-get install ia32-libs

####或者网络

sudo apt-get install ia32-lib*

####但是执行后,没法安装,提示信息以下:svg

jiasike@jiasike:~$ sudo apt-get install ia32-libs

[sudo] password for jiasike:

Reading package lists... Done

Building dependency tree

Reading state information... Done

Package ia32-libs is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

However the following packages replace it:

lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package 'ia32-libs' has no installation candidate

iasike@jiasike:~$ sudo apt-get install ia32-lib*

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package ia32-libs_0.4_amd64.deb

E: Couldn't find any package by regex 'ia32-libs_0.4_amd64.deb'

####根据提示信息,咱们知道须要执行这条命令:工具

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

执行后arm-linux交叉工具链就能正常使用了。ui

读者的状况不会和个人如出一辙,不过没有关系,你只须要根据提示信息,作进一步的尝试,问题天然会解决的。es5

更多精彩资讯,请扫码关注。

4378cb6b81ca43fd8601eae3.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值