Easy-deve edited a comment on issue #48:
URL: 
https://github.com/apache/apisix-go-plugin-runner/issues/48#issuecomment-981418284


   > > execvp() failed while executing 
/path/to/apisix-go-plugin-runner/go-runner (8: Exec format error)
   > 
   > The `go-runner` is not a valid executable. Do you compile it for Mac but 
run it in Linux? What happens when you run it manually?
   
   This go runner is officially provided and has not been changed. I manually 
compiled and ran main.go, and the error is as follows:
   % go run main.go
    command-line-arguments
   ./main.go:48:25: undefined: longVersion
   ./main.go:50:42: undefined: shortVersion
   ./main.go:150:12: undefined: shortVersion
   
   
   The errors reported by go-runner running in apisix container are as follows:
   ./go-runner: line 1: ����
                            8: not found
   ./go-runner: line 2: : not found
   ./go-runner: line 2: �__DATA_CONST�-x��-x�__rodata__DATA_CONST�-�
                                                                    : not found
   ./go-runner: line 2: �__symbol_stub1__TEXT��: not found
   ./go-runner: line 2: ���: not found
   ./go-runner: line 3: syntax error: unexpected word (expecting ")")
   /path/to/apisix-go-plugin-runner # ./go-runner: line 1: �: not found
   line 1: ��: not found
   ./go-runner: line 2:�__rodata__TEXT�: not found


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to