/usr/lib/libpgm.so.9 is in libnetpbm9 2:10.0-15ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/libpgm.so.9.19
/usr/lib/libpgm.so.9.19