Ubuntu下的KDevelop程序在Fedora下编译通过

字体大小: 中小 标准 ->行高大小: 标准

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软件包即可

此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/59959.html