redpanda-data / kminion

KMinion is a feature-rich Prometheus exporter for Apache Kafka written in Go. It is lightweight and highly configurable so that it will meet your requirements.
MIT License
610 stars 122 forks source link

non-docker build may not have CGO_ENABLED=0 #206

Closed hcoyote closed 1 year ago

hcoyote commented 1 year ago

From a redpanda community discussion: https://redpandacommunity.slack.com/archives/C01B3QBLUTT/p1683642189980289

Looks like the standlone arm/amd64 builds throw a GLIBC failure at runtime when run on a Linux release that doesn't have these specific glibc versions.

./kminion: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ./kminion) ./kminion: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ./kminion)

Per @weeco we may need to add CGO_ENABLED=0 to the goreleaser.yaml configuration for doing build releases for the tarballs.