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

Aron Xu happyaron.xu at gmail.com
Fri Sep 20 07:33:11 UTC 2013


On Wed, Sep 18, 2013 at 7:33 PM, Alberto Garcia <berto at igalia.com> wrote:
> Any chance to have this fixed?
>
> Here's how to reproduce it:
>
> $ echo 'main(){}' > test.c
> $ gcc -o /dev/null test.c `pkg-config --cflags --libs libxslt`
>
> /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 'pow'
> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor'
> collect2: error: ld returned 1 exit status

But I got no problem running this test case, even passing
-Wl,--no-add-needed does not make any difference.

-- 
Regards,
Aron Xu



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