Ubuntu16.0.4LTS 64位上运行32位程序,提示No such file or directory?错误的解决办法
来源:互联网 发布:高清网络监控 编辑:程序博客网 时间:2024/05/19 16:33
今天在ubuntu64位机器上跑小甲鱼VIM练习小程序(32位的...),提示错误(我的是:libncursesw.so.5缺少这个动态链接库),原因当然很简单,因为缺少32库导致的....
百度,谷歌,stackoverflow上搜了好长时间,接近一上午
终于搞定了,大致步骤如下,应该是可以精简的
1、确定有一个64位架构的内核
dpkg --print-architecturehttp://write.blog.csdn.net/postedit?ref=toolbar&ticket=ST-26448-PcHHuBZE0Ze5iGqM59ci-passport.csdn.net
会提示:amd64
2、确认打开多架构支持功能
dpkg --print-foreign-architectures
输出:i386
附:打开多架构支持步骤:
sudo dpkg --add-architecture i386 sudo apt -get update
3、检查拥有的库文件是否需要更新版本
sudo apt-get dist-upgrade
4、执行下面语句安装:重要
sudo apt install lib32ncursesw5 lib32ncursesw5-dev
5、此时在执行应该就可以了
后记:没有大神给解答问题,屌丝只能去google,百度等,由此可以知道成为大神的路是孤独的,要学会品味这份孤独~,为所有的大神们点赞
参考链接:
http://jingyan.baidu.com/article/7082dc1c539c15e40a89bd3e.html
http://www.linuxdiyf.com/linux/21656.html
http://bbs.csdn.net/topics/310138192
转载请注明出处哈,尊重劳动成果哦
2 0
- Ubuntu16.0.4LTS 64位上运行32位程序,提示No such file or directory?错误的解决办法
- Ubuntu16.0.4LTS 64位上运行32位程序,提示No such file or directory?错误的解决办法
- 64位linux系统无法运行Android sdk的adb和aapt,提示No such file or directory的解决办法
- 64位linux系统无法运行Android sdk的adb和aapt,提示No such file or directory的解决办法
- unable to execute No such file or directory,32位linux编译的程序在64位linux运行不了
- 64位linux下编译32位程序的错误“error: gnu/stubs-32.h: No such file or directory”
- ubuntu 64位的机器上执行arm-linux-gcc提示 no such file or directory
- Linux运行脚本命令提示No such file or directory错误的解决办法
- Linux运行shell脚本提示No such file or directory错误的解决办法
- 64位系统安装32位交叉工具链时No such file or directory的解决办法
- 64位系统执行32位程序报No such file or directory
- 在ubuntu 64位的机器上执行arm-linux-gcc提示 no such file or directory
- 64位linux提示gnu/stubs-32.h:No such file or directory的解决方法
- 64bitUbuntu执行32位程序报no such file or directory
- 在Ubuntu 64位机器上执行arm-linux-gcc命令提示无法加载库,no such file or directory
- 32位ubuntu 12.04 下 error: gnu/stubs-32.h: No such file or directory错误解决办法
- 64位linux提示gnu/stubs-32.h:No such file or directory
- 64位ubuntu 编译环境 No such file or directory
- Excel键盘快捷键大全(九)
- Recyclerview Item中图片动画错乱问题解决方案
- java泛型详解
- C#中的CLR
- 开源软件库TensorFlow最全教程和项目列表
- Ubuntu16.0.4LTS 64位上运行32位程序,提示No such file or directory?错误的解决办法
- Excel键盘快捷键大全(十)
- 折腾二维数组
- 德飞莱串口调试软件 ---部件'COMCTL32.OCX'或其附件之一不能正确注册
- RxJava+Retrofit实现全局过期token自动刷新的实践
- MapReduce:详解Shuffle过程
- svg画五角星,关于fill-rule的理解
- TextView跑马灯效果
- Excel键盘快捷键大全(十一)