Project

General

Profile

Bug #401

check for broken libxml

Added by Christoph Junghans over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Erik Lindahl
Category:
mdrun
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

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.

check_broken_libxml.patch (1.02 KB) check_broken_libxml.patch change to configure to check for broken libxml Christoph Junghans, 03/09/2010 11:56 AM

History

#1 Updated by David van der Spoel over 9 years ago

This patch was implemented as proposed.

Also available in: Atom PDF