ubuntu 安装 caffe 解决://home/xiaojie/anaconda/lib/libpng16.so.16:对‘inflateValidate@ZLIB_1.2.9’未定义的引用

1. 当运行命令"make runtest -j8" 时出现上述问题,有两种解决方案git

  1)GitHub上的解决方案,连接:https://github.com/BVLC/caffe/issues/6139github

  

  能够看出,是能够解决问题的!!!spa

  2)执行命令:code

1 git clone https://github.com/madler/zlib
2 cd path/to/zlib    #这里黄色标注的换成本身的路径便可
3 ./configure
4 make
5 make install # you may add 'sudo'
相关文章
相关标签/搜索