I do have hdf5.h in /usr/include/hdf5/serial/hdf5.h. I as able to work around this by installing with CFLAGS=-I/usr/include/hdf5/serial pip install bitshuffle, but then I ran into linking error finding -lhdf5. That's because I don't have libhdf5.so, I have libhdf5_serial.so, and I don't have libhdf5_hl.so but libhdf5_serial_hl.so (both in /usr/lib/x86_64-linux-gnu). I worked around that by simply symlinking ln -s libhdf5_serial.so libhdf5.so, etc.
Can you try the build in current master rather than the Pypi version? I think this might be fixed and I just haven't gotten around to re-releasing it yet.
Trying to install on Ubuntu 16.04.03:
I do have hdf5.h in /usr/include/hdf5/serial/hdf5.h. I as able to work around this by installing with
CFLAGS=-I/usr/include/hdf5/serial pip install bitshuffle
, but then I ran into linking error finding-lhdf5
. That's because I don't havelibhdf5.so
, I havelibhdf5_serial.so
, and I don't havelibhdf5_hl.so
butlibhdf5_serial_hl.so
(both in/usr/lib/x86_64-linux-gnu
). I worked around that by simply symlinkingln -s libhdf5_serial.so libhdf5.so
, etc.