Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libc.so.6 GLIBC_2.34 not found #11

Open
haphaeu opened this issue Jun 21, 2023 · 2 comments
Open

libc.so.6 GLIBC_2.34 not found #11

haphaeu opened this issue Jun 21, 2023 · 2 comments

Comments

@haphaeu
Copy link

haphaeu commented Jun 21, 2023

Download latest release, v0.0.19, lunii-admin_linux_amd64.

Tried to run in Linux Mint and got this error:

/lunii-admin_linux_amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./lunii-admin_linux_amd64)
./lunii-admin_linux_amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./lunii-admin_linux_amd64)

Note: just tested and previous versions up to 0.0.17 work fine. Offending release is 0.0.18

@Rom1deTroyes
Copy link

Same thing here :

./lunii-admin_linux_amd64
./lunii-admin_linux_amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./lunii-admin_linux_amd64)
./lunii-admin_linux_amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./lunii-admin_linux_amd64)

System :

  • OS: Debian GNU/Linux 11 (bullseye) x86_64
  • Kernel: 5.10.0-16-amd64
  • glibc: 2.31-13+deb11u3 all

My system is not up to date, so maybe your problem can be tackled by an update of the glibc ?

@zaggash
Copy link

zaggash commented Dec 1, 2023

The problem is that using the latest Ubuntu on GitHub actions, you are building your go file with one of the latest GCC toolchain (e.g. 2.32 oder higher)
Then if you're device is using an older glibc, this results in the mentioned error message.

Compiling with CGO_ENABLED=0 would fix it, but it is only a solution if your code does not depend on Glibc.
I think Wails use glibc to render the UI.

Another solution is to build your code on an older system or a previous toolchain, compatible with previous glibc versions.

I'll check what toolchain is used on these VM and see if I can draft a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants