Bug #401
check for broken libxml
Description
Created an attachment (id=442)
change to configure to check for broken libxml
That is the problem:
$ cat main.c
#include <libxml/parser.h>
int main(int argc, char **argv) {
xmlInitParser();
}
$ gcc -static main.c `xml2-config --libs --cflags` -pthread
$ ./a.out
Segmentation fault
One could just disable libxml, when compiling statically.
However the following patch checks this issue.
History
#1 Updated by David van der Spoel over 10 years ago
This patch was implemented as proposed.