tags 689168 + confirmed thanks On Sun, Sep 30, 2012 at 1:58 AM, Peter Eisentraut <pet...@debian.org> wrote: > 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). >
Yes, this is intentional so that xml2-config can be the same across different architecture, which is essential to make it co-installable. > 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. > I'd like to prompt the use of pkg-config, but removing xml2-config isn't an option because there are packages that rely on it. I'll document more about it in man page. Thanks! -- Regards, Aron Xu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org