Open fhoefling opened 6 years ago
The linking command of the latest working commit is as follows:
/usr/bin/cc -Wall -std=c99 -pedantic -fPIC -O3 -DNDEBUG -rdynamic CMakeFiles/h5mdtest.dir/h5mdtest.c.o CMakeFiles/h5mdtest.dir/h5mdplugin.c.o -o h5mdtest -Wl,-rpath,/group/ag_compstatphys/packages/Debian-GNU-Linux-9.4-stretch/hdf5-1.8.18/lib libh5md.a /group/ag_compstatphys/packages/Debian-GNU-Linux-9.4-stretch/hdf5-1.8.18/lib/libhdf5.so /group/ag_compstatphys/packages/Debian-GNU-Linux-9.4-stretch/hdf5-1.8.18/lib/libhdf5_hl.so -lm
The problem is a missing libhdf5_hl.so
at the end of the linking command.
The issue did not arise with CMake version 3.2.0.
Here is a link to a somewhat cryptic information: https://support.hdfgroup.org/HDF5/faq/cmake.html
Fixed by #29, please test.
Building with CMake fails since commit a715075 with the following error:
Tested with CMake versions 3.7.0 and 3.11.1 and HDF5 versions 1.8.18 and 1.10.2.