/usr/lib/x86_64-linux-gnu/root5.34/libHistPainter.so is in root-plugin-hist-histpainter 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/x86_64-linux-gnu/root5.34/libHistPainter.so.5