peimanja / artifactory_exporter

JFrog Artifactory Prometheus Exporter written in Go
Apache License 2.0
141 stars 37 forks source link

Release binary for linux_amd64 does not run on CentOS/RHEL7/8 systems #29

Closed ggatward closed 4 years ago

ggatward commented 4 years ago

Downloaded v0.5.1 release bundle for linux_amd64 to use on a CentOS8 system, binary won't execute due to missing library libc.musl-x86_64.so.1

root@ip-10-100-2-9[/usr/local/bin] # ldd artifactory_exporter linux-vdso.so.1 (0x00007ffd327fb000) libc.musl-x86_64.so.1 => not found

Apparrently this is a 'common' problem with images built on Alpine Linux - something still being dynamically linked ? This library is not available on any CentOS/RHEL system.

Compiling locally on the CentOS8 system fixed the issue for me, but if the 'released' versions could be fixed to work?