Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
***HDF5 library version mismatched error***
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.13, library is 1.8.14
SUMMARY OF THE HDF5 CONFIGURATION
=================================
General Information:
-------------------
HDF5 Version: 1.8.14
Configured on: Thu Dec 4 22:14:51 GMT 2014
Configured by: brew@miniyosemite.local
Configure mode: production
Host system: i386-apple-darwin14.0.0
Uname information: Darwin miniyosemite.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Byte sex: little-endian
Libraries: static, shared
Installation point: /usr/local/Cellar/hdf5/1.8.14
Compiling Options:
------------------
Compilation Mode: production
C Compiler: /usr/local/Library/ENV/4.3/clang ( Apple LLVM version 6.0 )
CFLAGS:
H5_CFLAGS:
AM_CFLAGS:
CPPFLAGS:
H5_CPPFLAGS: -DNDEBUG -UH5_DEBUG_API
AM_CPPFLAGS: -I/usr/local/opt/szip/include
Shared C Library: yes
Static C Library: yes
Statically Linked Executables: no
LDFLAGS:
H5_LDFLAGS:
AM_LDFLAGS: -L/usr/local/Cellar/hdf5/1.8.14/lib -L/usr/local/opt/szip/lib
Extra libraries: -lsz -lz -ldl -lm
Archiver: ar
Ranlib: ranlib
Debugged Packages:
API Tracing: no
Languages:
----------
Fortran: no
C++: no
Features:
---------
Parallel HDF5: no
High Level library: yes
Threadsafety: no
Default API Mapping: v18
With Deprecated Public Symbols: yes
I/O filters (external): deflate(zlib),szip(encoder)
I/O filters (internal): shuffle,fletcher32,nbit,scaleoffset
MPE: no
Direct VFD: no
dmalloc: no
Clear file buffers before write: yes
Using memory checker: no
Function Stack Tracing: no
Strict File Format Checks: no
Optimization Instrumentation: no
Large File Support (LFS): yes
Bye...
*** Aborted at 1424838917 (unix time) try "date -d @1424838917" if you are using GNU date ***
PC: @ 0x7fff8ce03286 __pthread_kill
*** SIGABRT (@0x7fff8ce03286) received by PID 18724 (TID 0x7fff78521300) stack trace: ***
@ 0x7fff8d265f1a _sigtramp
@ 0x0 (unknown)
@ 0x7fff95b29b53 abort
@ 0x100b095a8 H5check_version
@ 0x1012ccc8c caffe::HDF5DataLayer<>::LoadHDF5FileData()
@ 0x1012cc4c3 caffe::HDF5DataLayer<>::LayerSetUp()
@ 0x100513a71 caffe::HDF5DataLayerTest_TestRead_Test<>::TestBody()
@ 0x10064fd1c testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x10063e47a testing::Test::Run()
@ 0x10063f3a2 testing::TestInfo::Run()
@ 0x10063fa90 testing::TestCase::Run()
@ 0x100646246 testing::internal::UnitTestImpl::RunAllTests()
@ 0x100650524 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x100645f59 testing::UnitTest::Run()
@ 0x1004529e5 main
@ 0x7fff8e2785c9 start
make: *** [runtest] Abort trap: 6
@xxw345

This comment has been minimized.

Copy link

@xxw345 xxw345 commented Jul 3, 2015

I meet the similar problem on centos, did you solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment