Giter Site home page Giter Site logo

Comments (7)

zhangguanzhang avatar zhangguanzhang commented on September 26, 2024 1

https://github.com/zhangguanzhang/process-exporter

from process-exporter.

ncabatoff avatar ncabatoff commented on September 26, 2024

Sorry for the delay, https://github.com/ncabatoff/process-exporter/releases/tag/v0.7.11 should address both.

from process-exporter.

krdineshbny avatar krdineshbny commented on September 26, 2024

Thanks @ncabatoff

from process-exporter.

krdineshbny avatar krdineshbny commented on September 26, 2024

@ncabatoff linux amd64 binary is missing the libraries.
Can you please check this?
[dinesh@XYZ123 process-exporter-0.7.11.linux-amd64]$ ./process-exporter
./process-exporter: /lib64/libc.so.6: version GLIBC_2.34' not found (required by ./process-exporter) ./process-exporter: /lib64/libc.so.6: version GLIBC_2.32' not found (required by ./process-exporter)

from process-exporter.

ncabatoff avatar ncabatoff commented on September 26, 2024

That's strange, I'm using CGO_ENABLED=0, so I wouldn't expect to be depending on any shared libraries. I'll look into it later today, after work.

from process-exporter.

krdineshbny avatar krdineshbny commented on September 26, 2024

@ncabatoff The 386 binary works and i see the problem only on the amd64 binary

[xbbls8w@XYZ123 process-exporter-0.7.11.linux-386]$ ./process-exporter --version
process-exporter, version 0.7.11 (branch: , revision: 6caf441)
build user: goreleaser
build date: 2024-04-16T23:41:57Z
go version: go1.22.2
platform: linux/386
tags: netgo

[xbbls8w@XYZ123 process-exporter-0.7.11.linux-amd64]$ ./process-exporter --version
./process-exporter: /lib64/libc.so.6: version GLIBC_2.34' not found (required by ./process-exporter) ./process-exporter: /lib64/libc.so.6: version GLIBC_2.32' not found (required by ./process-exporter)

from process-exporter.

ncabatoff avatar ncabatoff commented on September 26, 2024

Ok, so my goreleaser config wasn't setting CGO_ENABLED=0, unlike the makefile and dockerfile. It worked previously because using the build tag netgo was sufficient, now I'd also need osusergo, or alternatively just set the env var, which is what I settled on. I've tested the amd64 binary from the 0.8.1 release and ldd says it's not a valid dynamic program, which is what we want.

from process-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.