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

GLIBC_2_32 and 2_34 not found only when running snap command #2

Open
HamzaNaseerFHWS opened this issue Jun 27, 2023 · 0 comments
Open

Comments

@HamzaNaseerFHWS
Copy link

HamzaNaseerFHWS commented Jun 27, 2023

Hey @anonymouse64 ! Its a really helpful example you have here, really appreciated :D
I have followed your instructions on both Ubuntu 20.04 LTS and 22.04 LTS and I seem to be getting this error when i run the hello-world command:

snap/docker-snap-usage-example/x2/docker-snap/bin/docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /snap/docker-snap-usage-example/x2/docker-snap/bin/docker)

/snap/docker-snap-usage-example/x2/docker-snap/bin/docker: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /snap/docker-snap-usage-example/x2/docker-snap/bin/docker)

What version of Ubuntu are you building this on? And I am not sure if I am missing something but why does running the command
sudo docker run hello-world
work through the terminal directly and not through your snap script?

ADDITIONAL INFO:
I have actually used snapcraft --destructive-mode to create the snap, since I am creating it from a VirtualBox VM. Can that also be the issue?

@HamzaNaseerFHWS HamzaNaseerFHWS changed the title GLIBC_2_32 and 2_34 not found GLIBC_2_32 and 2_34 not found only when running snap command Jun 27, 2023
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

1 participant