[skywalking-go]When I was using the Skywalk-go agent, I had a problem with not being able to build the project #11188
-
|
U-VF4VY9W5-1944:skywalking-go-test whlongxi$ sudo go build -toolexec="./go-agent" -a I referred to https://skywalking.apache.org/docs/skywalking-go/v0.2.0/en/setup/gobuild/。 how to solve this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
|
This seems a basic Linux issue. Do you add sudo or grant execute to the file? |
Beta Was this translation helpful? Give feedback.
-
|
Thank you. I have successfully connected to Skywalk-go agent. Thank you for your help. My steps are as follows: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you. I have successfully connected to Skywalk-go agent. Thank you for your help. My steps are as follows: |
Beta Was this translation helpful? Give feedback.
Thank you. I have successfully connected to Skywalk-go agent. Thank you for your help. My steps are as follows:
1.cd skywalking-go/
2.go build
3.sudo go build -toolexec "/path/to/skywalking-go/bin/skywalking-go-agent--darwin-amd64 -config /path/to/my_agent_config.yaml" -a (The path of the executable file is an absolute path)