/usr/sparc64-linux-gnu/lib/libthread_db.so is in libc6-dev-sparc64-cross 2.23-0ubuntu3cross1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/sparc64-linux-gnu/lib/libthread_db.so.1
/usr/sparc64-linux-gnu/lib/libthread_db.so.1