syntax error when start mydumper
unclesamwk opened this issue · comments
Hey,
i build mydumper in official golang1.9 docker container with no failures etc.
When ich start mydumper i got an failure:
./bin/mydumper: line 1: syntax error near unexpected token `newline'
./bin/mydumper: line 1: `!<arch>'```
myloader works successfully.
Any idea?
greetings
Sam
Hello,
Thank you for reporting the issue.
Fixed with commit 5882e69, please try again.
It works! Thank you
Another question:
It will be useful, build static binaries for 386 and x86/amd64.
I dont now, how it implemented.
restic backup do it very well ...
greetings sam
If I understand your question correctly, you're asking the golang's cross compling:
https://golang.org/doc/install/source#environment
Yes, the result in bin is an 386 binary
Ok, the answer is go-mydumper is implemented in purge go 💃
Can you please explain your answer and what it means ... thx
Sorry, I am not familiar with the rules of go compiler, it hard to explain in a sentence or two.