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

Unable to run Docker image: "version `GLIBC_2.33' not found" #573

Closed
hi019 opened this issue Aug 30, 2023 · 0 comments
Closed

Unable to run Docker image: "version `GLIBC_2.33' not found" #573

hi019 opened this issue Aug 30, 2023 · 0 comments

Comments

@hi019
Copy link
Contributor

hi019 commented Aug 30, 2023

PR in #572

When running the latest docker build (docker run ghcr.io/postgresml/pgcat:latest), I get this error:

> docker run ghcr.io/postgresml/pgcat:latest
Unable to find image 'ghcr.io/postgresml/pgcat:latest' locally
latest: Pulling from postgresml/pgcat
14726c8f7834: Pull complete 
33d35add1f41: Pull complete 
60122075d4cb: Pull complete 
4f4fb700ef54: Pull complete 
Digest: sha256:ce6f1dac2d0a26f7a543858e0d448c314b9cba6bdf3e383dba912f4ea582b2ea
Status: Downloaded newer image for ghcr.io/postgresml/pgcat:latest
pgcat: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by pgcat)
pgcat: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by pgcat)
pgcat: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by pgcat)

I think this is because of Docker base image incompatibilities. The base Docker image used for building, rust:1, is running a different version of glibc than that of the image used for executing pgcat, debian:bullseye. And apparently Rust requires the that the glibc version used for building be compatible with the one used to execute the binary (rust-lang/rust#57497).

@hi019 hi019 closed this as completed Aug 31, 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