0
我编了HDF5 package by GCC 4.9.2, CentOS 6.8 and std=c++11
,但我得到的错误:HDF5包错误编译
为package Linux 3.10 CentOS 7 x86_64
我得到:
./host/src/hdf5/lib/libhdf5.so: undefined reference to `[email protected]_2.14'
collect2: error: ld returned 1 exit status
为package Linux 2.6 CentOS 6 x86_64
我得到:
/opt/rh/devtoolset-3/root/usr/libexec/gcc/x86_64-redhat-linux/4.9.2/ld: warning: libsz.so.2, needed by ./host/src/hdf5/lib/libhdf5.so, not found (try using -rpath or -rpath-link)
./host/src/hdf5/lib/libhdf5.so: undefined reference to `SZ_encoder_enabled'
./host/src/hdf5/lib/libhdf5.so: undefined reference to `SZ_BufftoBuffCompress'
./host/src/hdf5/lib/libhdf5.so: undefined reference to `SZ_BufftoBuffDecompress'
collect2: error: ld returned 1 exit status
任何想法上悬而未决这个?
谢谢
我安装,但什么都没有改变,我想选择一个,如何禁用szip? – mohmsslk
这取决于构建系统。你使用的是什么版本的hdf5和什么构建系统(autotools/cmake)? –
其实我没有安装我刚从makfile调用它的包,版本是hdf5-1.8.18 – mohmsslk