Package: libxml2
Version: 2.6.32.dfsg-5+lenny1

I know static compiling is bad, but from time to time you need it.

Here is the simplest case I can imagine:
$ cat main.c
#include <libxml/parser.h>

int main(int argc, char **argv) {
            xmlInitParser();
}
$ gcc -static main.c `xml2-config --libs --cflags` -pthread -lz -lm
$ ./a.out
Segmentation fault

This is a problem with weak symbols in threads.c

A patch can be found here:
https://bugzilla.gnome.org/show_bug.cgi?id=609926
but upstream refused to merge it.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to