libxml2.so.2: undefined reference to `gzopen64'

从源码安装Libxml2时出现

libxml2.so.2: undefined reference to `gzopen64'

错误

 

将zlib从高版本降到zlib-1.2.3即可

你可能感兴趣的:(libxml2.so.2: undefined reference to `gzopen64')