2016-08-15 15:06 GMT+02:00 Elvis Stansvik <[email protected]>:

> Hi Elena (and everyone),
>
> I think I've ran into this problem:
>
>     https://www.mail-archive.com/[email protected]/
> msg02173.html
>
> Was the reason even found?
>
> I compile the LZF plugin from the h5py project as described in their
> README.txt, and it works fine with standard HDF5 tools (h5dump et.c.), but
> not when I use hdfview :/
>

Some more details: This is on Ubuntu 16.04 with HDF 1.8.16 from distro
packages. The hdfview is also from distro packages.

I build and install the LZF plugin to /usr/local/hdf5/lib/plugin using this
Makefile I wrote:

all: liblzf_filter.so

liblzf_filter.so: lzf/lzf/lzf_c.c lzf/lzf/lzf_d.c lzf/lzf_filter.c
    gcc -O2 $^ -fPIC -shared `pkg-config --cflags hdf5` -o $@

install:
    mkdir -p $(DESTDIR)/usr/local/hdf5/lib/plugin
    cp liblzf_filter.so $(DESTDIR)/usr/local/hdf5/lib/plugin

clean:
    -rm -rf liblzf_filter.so

The lzf subdirectory is taken from h5py-2.6.0.

Elvis


> Thanks in advance,
> Elvis
>
_______________________________________________
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

Reply via email to