I have been trying to compile the lzf compressor as a shared library (not linked against hdf5) to be used as a filter plugin for HDF5.
Basically I was following this: https://github.com/h5py/h5py/tree/master/lzf I compiled lzf as a shared library using this compile command: gcc -O2 -fPIC -shared lzf/*.c lzf_filter.c -o liblzf_filter.so This will create a lzf filter plugin that I copied into the /usr/local/hdf5/lib/plugin folder. The normal command line tools (h5ls, h5dump) work fine with lzf compressed dataset, so the plugin seems to work. However when I try to read the same lzf compressed dataset using Java HDF5 or HDFView (2.11), I get the error that the lzf filter plugin can not be found. The only workaround is to link it against the hdf5 library: gcc -O2 -fPIC -shared lzf/*.c lzf_filter.c -lhdf5 -o liblzf_filter.so Is this a known issue ? This was on Ubuntu 14.04 and HDF5 1.8.15patch1 thanks in advance cheers Ümit
_______________________________________________ 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
