[xml/sgml-pkgs] Bug#697382: libxml2-dev: libxml-2.0.pc misses -llzma for static linking

Brice Goglin bgoglin at debian.org
Fri Jan 4 16:30:48 UTC 2013


Package: libxml2-dev
Version: 2.9.0+dfsg1-4
Severity: normal

Dear Maintainer,

libxml-2.0.pc doesn't seem to be correct for static linking.

  $ pkg-config --libs --static libxml-2.0 
  -lxml2 -lz -lm  

It should bring a dependency on -llzma:

  /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/
   libxml2.a(xzlib.o):function xz_decomp:
   error: undefined reference to 'lzma_code'

Either directly in Libs.private, or maybe as:
  Requires.private: liblzma

Thanks
Brice

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libxml2-dev depends on:
ii  libxml2  2.9.0+dfsg1-4

libxml2-dev recommends no packages.

Versions of packages libxml2-dev suggests:
ii  pkg-config  0.26-1

-- no debconf information



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