/usr/lib/libecpg_compat.so is in libecpg-dev 9.3.4-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/libecpg_compat.so.3.5
/usr/lib/libecpg_compat.so.3.5