/usr/riscv64-linux-gnu/lib/libnss_hesiod.so.2 is in libc6-riscv64-cross 2.27-3ubuntu1cross1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/riscv64-linux-gnu/lib/libnss_hesiod-2.27.so
/usr/riscv64-linux-gnu/lib/libnss_hesiod-2.27.so