Ubuntu14.04+Ananconda2配置libhdf5.so.7 conflict with libhdf5.so.101出错

$ make test -j2 之后如下:

CXX/LD -o .build_release/test/test_all.testbin src/caffe/test/test_caffe_main.cpp
LD .build_release/src/caffe/test/test_reshape_layer.o
LD .build_release/src/caffe/test/test_image_data_layer.o
/usr/bin/ld: warning: libhdf5.so.7, needed by .build_release/lib/libcaffe.so, may conflict with libhdf5.so.101
.build_release/src/caffe/test/test_hdf5_output_layer.o:在函数‘caffe::HDF5OutputLayerTest_TestForward_Test<caffe::CPUDevice<float> >::TestBody()’中:
test_hdf5_output_layer.cpp:(.text._ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0x1e0):对‘void caffe::hdf5_load_nd_dataset<float>(long, char const*, int, int, caffe::Blob<float>*, bool)’未定义的引用
test_hdf5_output_layer.cpp:(.text._ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0x205):对‘void caffe::hdf5_load_nd_dataset<float>(long, char const*, int, int, caffe::Blob<float>*, bool)’未定义的引用
test_hdf5_output_layer.cpp:(.text._ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0xbb9):对‘void caffe::hdf5_load_nd_dataset<float>(long, char const*, int, int, caffe::Blob<float>*, bool)’未定义的引用
test_hdf5_output_layer.cpp:(.text._ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIfEEE8TestBodyEv[_ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIfEEE8TestBodyEv]+0xc4e):对‘void caffe::hdf5_load_nd_dataset<float>(long, char const*, int, int, caffe::Blob<float>*, bool)’未定义的引用
.build_release/src/caffe/test/test_hdf5_output_layer.o:在函数‘caffe::HDF5OutputLayerTest_TestForward_Test<caffe::CPUDevice<double> >::TestBody()’中:
test_hdf5_output_layer.cpp:(.text._ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0x1e1):对‘void caffe::hdf5_load_nd_dataset<double>(long, char const*, int, int, caffe::Blob<double>*, bool)’未定义的引用
test_hdf5_output_layer.cpp:(.text._ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0x206):对‘void caffe::hdf5_load_nd_dataset<double>(long, char const*, int, int, caffe::Blob<double>*, bool)’未定义的引用
test_hdf5_output_layer.cpp:(.text._ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0xbba):对‘void caffe::hdf5_load_nd_dataset<double>(long, char const*, int, int, caffe::Blob<double>*, bool)’未定义的引用
test_hdf5_output_layer.cpp:(.text._ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIdEEE8TestBodyEv[_ZN5caffe36HDF5OutputLayerTest_TestForward_TestINS_9CPUDeviceIdEEE8TestBodyEv]+0xc4f):对‘void caffe::hdf5_load_nd_dataset<double>(long, char const*, int, int, caffe::Blob<double>*, bool)’未定义的引用
collect2: error: ld returned 1 exit status
make: *** [.build_release/test/test_all.testbin] 错误 1
make: *** 正在等待未完成的任务....

求怎么解决
 
已邀请:

要回复问题请先登录注册