Red Hat Bugzilla – Bug 208046
Symbol link libxml2.so is lost in /usr/lib64
Last modified: 2007-11-30 17:11:44 EST
Description of problem:
When we build 64-bit applications on ppc64, it fails,
/usr/bin/ld: skipping incompatible /usr/lib/libxml2.so when searching for -lxml2
/usr/bin/ld: skipping incompatible /usr/lib/libxml2.a when searching for -lxml2
/usr/bin/ld: cannot find -lxml2
There is a symbol link libxml2.so in /usr/lib, and the similar symbol link could
not be found in /usr/lib64/
Please check the libxml2 and libxml2-devel packages first, and report the
rpm -q libxml2 libxml2-devel
rpm -V libxml2 libxml2-devel
It seems that libxml2-devel for ppc64 is installed in default.
If I install libxml2-devel-2.6.26-2.1.1.ppc64.rpm, no such problem above anymore.
Okay, this was strange, if libxml2 devel package has a problem a very large
set of other packages would just break at compilation so it was looking unlikely.