go-sniffer icon indicating copy to clipboard operation
go-sniffer copied to clipboard

/usr/bin/go-sniffer: cannot execute binary file

Open fineday009 opened this issue 4 years ago • 1 comments

root@xxxx-xxxxx-0:/usr/local/services# ll go-sniffer 
-rwxr-xr-x 1 root root 14563416 Dec 23 21:30 go-sniffer

root@xxxx-xxxxx-0:/usr/local/services# go-sniffer  
bash: /usr/bin/go-sniffer: cannot execute binary file

mac 10.15.6 上编译,上传到一台linux机器,执行go-sniffer时这种报错什么情况? ps: mac本机执行看上去是正常的。

image

fineday009 avatar Dec 23 '20 13:12 fineday009

看来unix编译出来的二进制没法在linux上搞

fineday009 avatar Dec 23 '20 13:12 fineday009