docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.14k stars 1.11k forks source link

pg_dump, pg_restore utilities thorwing an error libzstd.so.1 and liblz4.so.1 file not found. #1130

Closed akshay-joshi closed 10 months ago

akshay-joshi commented 10 months ago

pg_dump/pg_restore and other utilities throwing an error libzstd.so.1 and liblz4.so.1 file not found.

Steps to reproduce:

Docker_Error

ImreSamu commented 10 months ago

Steps to reproduce:

It is working for me:

$ docker run  -it --rm   postgres:16 bash -c  "pg_dump --version && pg_restore --version"
pg_dump (PostgreSQL) 16.0 (Debian 16.0-1.pgdg120+1)
pg_restore (PostgreSQL) 16.0 (Debian 16.0-1.pgdg120+1)

$ docker run  -it --rm   postgres:16-alpine bash -c  "pg_dump --version && pg_restore --version"
pg_dump (PostgreSQL) 16.0
pg_restore (PostgreSQL) 16.0
akshay-joshi commented 10 months ago

My bad, I think I am using an alpine image and forgot to copy the dependencies. Sorry for the noise. Closing the issue.