/usr/lib/x86_64-linux-gnu/hdf5/openmpi/libhdf5.so is in libhdf5-openmpi-dev 1.10.0-patch1+docs-3+deb9u1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/x86_64-linux-gnu/hdf5/openmpi/../../libhdf5_openmpi.so