码迷,mamicode.com
首页 > 系统相关 > 详细

修复/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory问题

时间:2016-04-13 11:19:51      阅读:324      评论:0      收藏:0      [点我收藏+]

标签:

在配置MongDB的是时候出现这/lib/ld-linux.so.2问题

[root@localhost local]# /usr/local/mongodb/mongodb/bin/mongod --dbpath=/usr/local/mongodb/mongodb/data --logpath=/usr/local/mongodb/mongodb/logs --logappend --auth --port=27017 --fork
-bash: /usr/local/mongodb/mongodb/bin/mongod: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
[root@localhost local]#

技术分享

1、在64系统里执行32位程序如果出现/lib/ld-linux.so.2: 
bad ELF interpreter: No such file or directory,安装下glic即可
 
sudo yum install glibc.i686
 
2、error while loading shared libraries: libz.so.1: 
cannot open shared object file: No such file or directory
sudo yum install zlib.i686 

 技术分享

修复/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory问题

标签:

原文地址:http://www.cnblogs.com/visec479/p/5386186.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!