I'm facing a strang behaviour on obs: https://build.opensuse.org/package/rawlog/home:e9925248:darwin/headerdoc/ope... It installs libxml2-devel: [ 36s] [98/99] cumulate libxml2-devel-2.9.0-2.1.1 [ 37s] libxml2-devel-2.9.0-2.1.1 ######################################## The build fails with: [ 44s] cc -lxml2 -lpthread xml2man.o strcompat.o -o xml2man [ 44s] xml2man.o: In function `writeData_sub': [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:730: undefined reference to `xmlUnlinkNode' [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:738: undefined reference to `xmlFreeNode' [ 44s] xml2man.o: In function `main': [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:116: undefined reference to `xmlCheckVersion' [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:126: undefined reference to `xmlParseFile' [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:147: undefined reference to `xmlParseMemory' [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:149: undefined reference to `xmlDocGetRootElement' [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:173: undefined reference to `xmlFreeDoc' [ 44s] /home/abuild/rpmbuild/BUILD/headerdoc-8.9.14/xmlman/xml2man.c:174: undefined reference to `xmlCleanupParser' This means, that cc does not find libxml2. On a openSuSE 12.3 chroot: $rpm -ql libxml2-devel |grep -v include /usr/bin/xml2-config /usr/lib64/libxml2.la /usr/lib64/libxml2.so /usr/lib64/pkgconfig/libxml-2.0.pc /usr/lib64/xml2Conf.sh /usr/share/aclocal /usr/share/aclocal/libxml.m4 /usr/share/man/man1/xml2-config.1.gz /usr/share/man/man3/libxml.3.gz So /usr/lib64/libxml2.so, which is necessary to link libxml2, should be in the obs chroot. /usr/lib64 is the default search path for libraries, so it should be found by the compiler via -lxml2. Executing the same command (as well as building the package via rpmbuild directly) in the openSuSE 12.3 chroot finds the library. I currently don't have any clue, what could be different. Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org