error: //usr/local/lib/libavformat.a(http.o): undefined reference to symbol 'inflateInit2_'


编译问题:

error://usr/local/lib/libavformat.a(http.o): undefined reference to symbol'inflateInit2_'


解决办法:

添加链接库zlib

编译选项中加上

-lz









你可能感兴趣的:(error: //usr/local/lib/libavformat.a(http.o): undefined reference to symbol 'inflateInit2_')