[xml/sgml-pkgs] Bug#374017: libxml2-dev: libxml-2.0.pc's Libs shouldn't include -lz -lm

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Jun 16 20:01:51 UTC 2006


Package: libxml2-dev
Version: 2.6.26.dfsg-1
Severity: minor

Hi,

There are spurious dependencies in libxml-2.0.pc:

Libs: -L${libdir} -lxml2 -lz -lm

-lz -lm is _not_ needed in Libs (since the -lxml2 interface
doesn't depend on -lz -lm interface) and just brings a unneeded
dependencies. It should rather be put in Libs.private:

Libs: -L${libdir} -lxml2
Libs.private: -lz -lm

(so that static compiling still works).

Samuel


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages libxml2-dev depends on:
ii  libxml2                    2.6.26.dfsg-1 GNOME XML library
ii  zlib1g-dev [libz-dev]      1:1.2.3-11    compression library - development

libxml2-dev recommends no packages.

-- no debconf information




More information about the debian-xml-sgml-pkgs mailing list