configure:20583: checking for xmlParseFile configure:20640: gcc -o conftest -g -O2 -I/usr/include/libxml2 -static conftest.c -L/usr/lib -lxml2 -lz -lm >&5 /usr/lib/libxml2.a(nanohttp.o)(.text+0x1318): In function `xmlNanoHTTPConnectHost': : warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libxml2.a(nanohttp.o)(.text+0x1474): In function `xmlNanoHTTPConnectHost': : warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries fr om the glibc version used for linking /usr/lib/libxml2.a(threads.o)(.text+0x1e8): In function `xmlRMutexLock': : undefined reference to `pthread_cond_wait' collect2: ld returned 1 exit status configure:20646: $? = 1 configure: failed program was: | /* confdefs.h. */