/etc/init.d/mysql: /usr/bin/my_print_defaults: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录

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

 

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, 安装下zlib即可,安装命令如下
 
sudo yum install zlib.i686

你可能感兴趣的:(运维,linux)