Hangs on startup on arm64 Mac
tomkv opened this issue · 1 comments
tomkv commented
Context
When built as a native binary, it will hang on startup, no matter what command was chosen (even "version").
It is possible to exit with Ctrl-C.
This happens only on ARM Macs. On Intel Macs, it works fine.
Expected Behavior
Application should normally run.
Actual Behavior
Application is stuck, until Ctrl-C is pressed in the terminal.
Steps to Reproduce
- build native binary:
brew install golang geos leveldb
mkdir go && cd go
export GOPATH=`pwd`
go get -u github.com/omniscale/imposm3
CGO_CPPFLAGS="-I/opt/homebrew/include" CGO_LDFLAGS="-L/opt/homebrew/lib" \
go install -tags="ldbpost121" github.com/omniscale/imposm3/cmd/imposm@v0.11.1
- run it:
cd $GOPATH/bin
./imposm version
Context
Your Environment
- Version used: 0.11.1
- Environment name and version (e.g. PostgreSQL x.y.z with PostGIS a.b.c): N/A
- Server type and version:
- Operating System and version: macOS 11.2.1
- Devtools: Xcode & Xcode Command Line Tools 12.4, go version go1.16 darwin/arm64
tomkv commented
No longer an issue with go 1.16.1 and macOS 11.2.3.