The github release and homebrew binaries have this problem. The fix seems to be re-compiling pet with the latest version of go.
Edit: I just tried compiling pet myself with go1.18 and the resulting pet binary still fails the same way for pet search. So not sure what's going on. Also I'm not sure where the /usr/local/Cellar/go/1.8/ path is coming from since that doesn't exist on my system. I'm likely just compiling it wrong, or possibly there's something else off about my environment that's causing this error.
I get this error when I run
pet search
. This is an issue with many go binaries on macOS 12.It seems like all go binaries compiled before a certain version are seeing this on macOS 12. There's a dedicate page for this on the Go wiki: https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue
The github release and homebrew binaries have this problem. The fix seems to be re-compiling
pet
with the latest version of go.Edit: I just tried compiling pet myself with
go1.18
and the resulting pet binary still fails the same way forpet search
. So not sure what's going on. Also I'm not sure where the/usr/local/Cellar/go/1.8/
path is coming from since that doesn't exist on my system. I'm likely just compiling it wrong, or possibly there's something else off about my environment that's causing this error.