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

Alberto Garcia berto at igalia.com
Wed Sep 18 11:33:26 UTC 2013


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

Berto



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