64位ubuntu运行32位程序

摘自http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit


"No such file or directory" may appaear when you have your binary, but it lacks some libraries.

If you install build-essential package, you will have ldd command available.

This command ldd ./app | grep not will show you what libraries are missing.

Just install these libraries in i386 arch with apt. Like this: apt-get install libmissing:i386

Beware, some buggy packages will try to delete 64bit version firs.


To run a 32-bit executable file on a 64-bit multi-architecture Ubuntu system, you have to add thei386 architecture and install the three library packages libc6:i386,libncurses5:i386, and libstdc++6:i386

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

上一篇: ubuntu 登录慢
下一篇: make install 时指定安装路径
ghost_rt
博客等级 码龄18年 2粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值