错误:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
修复:
0 1 2 3 4 5 6 7 8 9 |
[root@loaclhost scripts]# /usr/local/bin/shc -v -f tmp.sh bash: /usr/local/bin/shc: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory [rootlocalhost scripts]# yum install glibc [root@localhost scripts]# yum install glibc.i686 [root@hzky scripts]# ll total 28 -rwxr-xr-x 1 root root 419 Apr 30 11:25 tmp.sh #原始文件 -rwx--x--x 1 root root 12024 Apr 30 11:51 tmp.sh.x #可执行的二进制文件 -rw-r--r-- 1 root root 11121 Apr 30 11:51 tmp.sh.x.c #C源文件 |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!