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'
相關文章
相關標籤/搜索