Ubuntu: HDF5报错: HDF5 header version与HDF5 library不匹配

今天在执行一个用到hdf5的python脚本时,遇到如下错误

Warning! ***HDF5 library version mismatched error***The HDF5 header files used to compile this application do not matchthe 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 butlinked with a different version of static or shared HDF5 library.You should recompile the application or check your shared library relatedsettings such as ‘LD_LIBRARY_PATH’.You can, at your own risk, disable this warning by setting the environmentvariable ‘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.11, library is 1.8.9 SUMMARY OF THE HDF5 CONFIGURATION =================================

General Information:——————- HDF5 Version: 1.8.9 Configured on: Fri Dec 20 12:54:14 CST 2013 Configured by: ilan@CentOS5x64 Configure mode: production Host system: x86_64-unknown-linux-gnu Uname information: Linux centos5x64 2.6.18-348.el5 #1 SMP Tue Jan 8 17:53:53 EST 2013 x86_64 x86_64 x86_64 GNU/Linux Byte sex: little-endian Libraries: Installation point: /opt/anaconda1anaconda2anaconda3

Compiling Options:—————— Compilation Mode: production C Compiler: /usr/bin/gcc ( gcc (GCC) 4.1.2 20080704 ) CFLAGS: H5_CFLAGS: -std=c99 -pedantic -Wall -Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wfloat-equal -Wmissing-format-attribute -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wformat=2 -Wunreachable-code -Wendif-labels -Wdeclaration-after-statement -Wold-style-definition -Winvalid-pch -Wvariadic-macros -Wnonnull -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros -Wunsafe-loop-optimizations -Wc++-compat -Wvolatile-register-var -O3 -fomit-frame-pointer -finline-functions AM_CFLAGS: CPPFLAGS: H5_CPPFLAGS: -D_POSIX_C_SOURCE=199506L -DNDEBUG -UH5_DEBUG_API AM_CPPFLAGS: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_BSD_SOURCE Shared C Library: yes Static C Library: no Statically Linked Executables: no LDFLAGS: H5_LDFLAGS: AM_LDFLAGS: Extra libraries: -lpthread -lz -lrt -lm Archiver: ar Ranlib: ranlib Debugged Packages: API Tracing: no

Languages:———- Fortran: no

C++: no

Features:——— Parallel HDF5: no High Level library: yes Threadsafety: yes Default API Mapping: v18With Deprecated Public Symbols: yes I/O filters (external): deflate(zlib) I/O filters (internal): shuffle,fletcher32,nbit,scaleoffset MPE: no Direct VFD: no dmalloc: noClear file buffers before write: yes Using memory checker: no Function Stack Tracing: no GPFS: no Strict File Format Checks: no Optimization Instrumentation: no Large File Support (LFS): yesBye…Aborted (core dumped)

接受失败等于回归真实的自我,接受失败等于打破完美的面具,

Ubuntu: HDF5报错: HDF5 header version与HDF5 library不匹配

相关文章:

你感兴趣的文章:

标签云: