解决64位Linux运行32位程序的问题

字体大小: 中小 标准 ->行高大小: 标准

apt-get install ia32-libs

如果提示bash: ./test: cannot execute binary file

则可能是内核中没有编译进32位的兼容

 Executable file formats / Emulations

 [*] Kernel support for ELF binaries         
 [ ] Write ELF core dumps with partial segments
 <*> Kernel support for MISC binaries        
 [*] IA32 Emulation                          
 <M>   IA32 a.out support                    

 编译进这几个模块就可以使用啦

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/49776.html