The HDF5 header files used to compile this application do not match the version used by the HDF5 lib

140 views
Skip to first unread message

Zhao Wulanaren

unread,
Apr 13, 2016, 4:45:18 AM4/13/16
to Caffe Users

During the execution of train_val.prototxt(in matlab) ,I got the error message: 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.13, library is 1.8.6 SUMMARY OF THE HDF5 CONFIGURATION =================================

General Information:

       HDF5 Version: 1.8.6
      Configured on: Fri Sep  6 09:54:35 EDT 2013
      Configured by: batserve@bat5810glnxa64 at The MathWorks, Inc., Natick, MA 01760
     Configure mode: production
        Host system: x86_64-unknown-linux-gnu
      Uname information: Linux bat5810glnxa64 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux
           Byte sex: little-endian
          Libraries: 
     Installation point: /mathworks/devel/bat/A3p0/build/3p/install/489260/glnxa64/hdf5                       

I know one way is to downgrade the version of hdf5 of Caffe.But it means I have to recompile my Caffe. The other way is to upgrade the version of hdf5 of MATLAB,but how to upgrade?

Jan

unread,
Apr 18, 2016, 6:52:38 AM4/18/16
to Caffe Users
I'd recommend downgrading the hdf version caffe uses by setting appropriate include and lib paths. Recompiling is only a matter of minutes, not really a big deal.

Jan

Jerry Dong

unread,
Oct 30, 2018, 11:28:39 PM10/30/18
to Caffe Users
Hi , I am facing the same problem when 'make runtest',do you know how to downgrading hdf5 version?
thanks a lot~

在 2016年4月18日星期一 UTC+8下午6:52:38,Jan写道:
Reply all
Reply to author
Forward
0 new messages