1把Ubuntu下的libxml文件夹复制到Fedora的/usr/include中
2符号链接
ln -s /usr/local/lib/libxml2.a /usr/lib/libxml2.a
ln -s /usr/local/lib/libxml2.so /usr/lib/libxml2.so
ln -s /usr/local/lib/libmxl2.la /usr/lib/libxml2.la
3解决/usr/bin/ld: can not find -lxml2
安装 libxml2-devel软件包即可