[xml/sgml-pkgs] Bug#689168: output of xml2-config --libs not multi-arch aware
Peter Eisentraut
petere at debian.org
Sat Sep 29 17:58:55 UTC 2012
Package: libxml2-dev
Version: 2.8.0+dfsg1-5
Severity: normal
$ xml2-config --libs
-L/usr/lib -lxml2
But the library is in /usr/lib/i386-linux-gnu (or similar).
Both of these are in the default linker path, so it might ordinarily
not make much of a difference, but it's still wrong. I could imagine
if you do some kind of foreign build, adding -L/usr/lib to the linker
command line could be a problem.
Perhaps the use of xml2-config is not tenable in a multi-arch
environment and pkg-config is preferable, but then a note in the man
page (or removing the binary) might be appropriate.
More information about the debian-xml-sgml-pkgs
mailing list