在配置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