Sample Header Ad - 728x90

ldd /usr/bin/pg_restore gives error not a dynamic executable

0 votes
1 answer
42 views
I am trying to determine the libraries needed for pg_restore in the official postgres:15 docker image, but when I run ldd /usr/bin/pg_restore inside the container it returns this error: not a dynamic executable. When I install the same postgres client version 15.12 directly in my VM, ldd works as expected. What could be wrong that ldd is not working properly on a docker container?
Asked by Ricardo Silva (103 rep)
May 6, 2025, 09:52 AM
Last activity: May 6, 2025, 10:04 AM