HDF5 plugins not linking to libhdf5



I’m using hdf5-1.14.0-Std-centos7_64.tar.gz (linked here) to install HDF5 in a custom location on Ubuntu. However, my the filter plugins that get installed in HDF_Group/HDF5/1.14.0/lib/plugin are failing to link to libhdf5.so.310, causing the filters to fail. Please advise. Thank you!

Here is the command I use to install after extracting the tar.gz file:

./HDF5-1.14.0-Linux.sh --prefix=/usr/local/VAPOR-Deps/current --exclude-subdir --skip-license

And here is ldd run on one of the plugins. libhdf5.so.310 is not found.

vapor@vapor-Precision-Tower-5810:/usr/local/VAPOR-Deps/current/HDF_Group/HDF5/1.14.0/lib$ ldd plugin/libh5bz2.so linux-vdso.so.1 (0x00007ffeff3cd000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f38b2e41000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f38b2e3b000) libhdf5.so.310 => not found libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f38b2c49000) /lib64/ld-linux-x86-64.so.2 (0x00007f38b31b8000)


Did you set the ENV var?


Thanks @byrn - We set HDF5_PLUGIN_PATH in our desktop application environment. This successfully uses the plugins with HDF5 version 1.12.2, despite the that version’s hdf5 library also being not-found by ldd. 1.14.0 does not work.

The problem must lie in something between 1.12.2 and 1.14.0. I’m looking to see if I can find a note on how the plugins are handled.