[xml/sgml-pkgs] Bug#721602: libxslt1-dev: libxslt.pc should include -lm

Alberto Garcia berto at igalia.com
Mon Sep 2 09:08:30 UTC 2013


Package: libxslt1-dev
Version: 1.1.28-2
Severity: important

When I try to link WebKit using the gold linker I get the following
error:

  CCLD     Programs/MiniBrowser
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'fmod'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow'
collect2: error: ld returned 1 exit status

This problem is fixed if I add -lm to the Libs section in libxslt.pc

That seems to be present upstream, but for some reason the Debian
package has that flag removed (0002-fix-autoconf-automake.patch),
what's the reason for that?

Thanks,

Berto

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages libxslt1-dev depends on:
ii  libxml2-dev  2.9.1+dfsg1-3
ii  libxslt1.1   1.1.28-2

libxslt1-dev recommends no packages.

libxslt1-dev suggests no packages.

-- no debconf information



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