关于不同版本动态链接
http://blog.csdn.net/dodomouse/article/details/39138493
今天在编译caffe的时候,报出以下错误
error while loading shared libraries: libhdf5_hl.so.10: cannot open shared object file: No such file
提示是找不到动态链接库。于是找到hdf5的动态链接库位置,我的是在/usr/local/hdf5/lib/下:
发现目录结构是这样的:
-rwxrwxrwx 1 root root 6001668 7月 12 2015 libhdf5.a*
-rwxrwxrwx 1 root root 217024 7月 12 2015 libhdf5_hl.a*
-rwxrwxrwx 1 root root 1093 7月 12 2015 libhdf5_hl.la*
lrwxrwxrwx 1 root root 19 7月 12 2015 libhdf5_hl.so -> libhdf5_hl.so.9.0.0*
lrwxrwxrwx 1 root root 19 7月 12 2015 libhdf5_hl.so.9 -> libhdf5_hl.so.9.0.0*
-rwxrwxrwx 1 root root 148127 7月 12 2015 libhdf5_hl.so.9.0.0*
-rwxrwxrwx 1 root root 1013 7月 12 2015 libhdf5.la*
-rwxrwxrwx 1 root root 3201 7月 12 2015 libhdf5.settings*
lrwxrwxrwx