GNOME Bugzilla – Bug 314853
xml2-config --libtool-libs outputs non-existent /usr/lib/libxml2.la
Last modified: 2009-08-15 18:40:50 UTC
Please describe the problem: libtool is told to link with an non-existent library file. This makes compilation of some other packages fail. prompt> xml2-config --libtool-libs /usr/lib/libxml2.la prompt> ls /usr/lib/libxml2.la ls: /usr/lib/libxml2.la: No such file or directory Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
This behaviour also occurs with the latest rpm I could find: libxml2-2.6.20-1.src.rpm
the .a files are being removed by your distribution rpm scripts. Raise that as a defect for rpm in your distribution. It works in my environment: paphio:~ -> rpm -qf /usr/lib/libxml2.a libxml2-devel-2.6.20-1 Daniel
Note however that the .la is now missing, that is true, but that is considered normal, you should use --libs to get linking informations and not assume libtools support. I removed the --libtool-libs option from xml2-config in CVS.