Good day, We’ve been developing a compression filter and have discovered that tools such as h5dump and libraries such as h5py fail to load the filter, while our own C++ tools that read/write datasets using the filter work fine. However, explicitly linking the filter with libpthread allows h5dump to load it, and additionally linking it with libhdf5 allows h5py to load it.
Our C++ tools are already linked with these libraries which would explain why they have no trouble loading it. I see that someone came across a similar issue before and it was recommended that filters that use HDF5 calls should link with the library (https://lists.hdfgroup.org/pipermail/hdf-forum_lists.hdfgroup.org/2015-December/009100.html). I’m not sure I understand why this is necessary, since any code that is capable of opening an HDF5 file would already link with libhdf5. If this is normal, perhaps it’s worth noting in the filter documentation, especially since implementing a set_local callback would almost certainly involve calling some HDF5 functions (we use it to determine type size, etc.) Regards, Derick _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5
