编译caffe报错:
//home/ubuntu/anaconda3/lib/libpng16.so.16: undefined reference to `inflateValidate@ZLIB_1.2.9'问题可能是python是通过anaconda安装的而不是直接安装
解决办法:在Makefile.config中加入下列信息:
LINKFLAGS := -Wl,-rpath,/home/ubuntu/anaconda3/lib
编译caffe报错:
//home/ubuntu/anaconda3/lib/libpng16.so.16: undefined reference to `inflateValidate@ZLIB_1.2.9'问题可能是python是通过anaconda安装的而不是直接安装
LINKFLAGS := -Wl,-rpath,/home/ubuntu/anaconda3/lib