0

I have an application that was compiled with HDF under ubuntu 16.04, i.e. hdf5 1.8.16 but need to run it on Ubuntu 18.04 meaning hdf5 1.10.

I tried to create symlinks in /usr/lib/x86_64-linux-gnu named "libhdf5_serial.so.10" pointing to the recent version libhdf5_serial.so.100.0.1 under Ubuntu 18.04, but without much success, as I am getting the error

HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140001026823936: #000: ../../../src/H5P.c line 254 in H5Pcreate(): not a property list class major: Invalid arguments to routine minor: Inappropriate type HDF5-DIAG: Error detected in HDF5 (1.10.0-patch1) thread 140001026823936: #000: ../../../src/H5Pfapl.c line 1750 in H5Pset_fclose_degree(): can't find object for ID major: Object atom minor: Unable to find atom information (already closed?) #001: ../../../src/H5Pint.c line 3817 in H5P_object_verify(): property list is not a member of the class major: Property lists minor: Unable to register new atom #002: ../../../src/H5Pint.c line 3767 in H5P_isa_class(): not a property list major: Invalid arguments to routine minor: Inappropriate type Warning! HDF5 library version mismatched error The HDF5 header files used to compile this application do not match the version used by the HDF5 library to which this application is linked. Data corruption or segmentation faults may occur if the application continues. This can happen when an application was compiled by one version of HDF5 but linked with a different version of static or shared HDF5 library. You should recompile the application or check your shared library related settings such as 'LD_LIBRARY_PATH'. You can, at your own risk, disable this warning by setting the environment variable 'HDF5_DISABLE_VERSION_CHECK' to a value of '1'. Setting it to 2 or higher will suppress the warning messages totally.

Headers are 1.8.16, library is 1.10.0

what can I do to resolve this issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.