It failed in pdf_text_init(), so could be due to different things. Could
you configure it with --enable-debug-base and send me the PDF_DEBUG_BASE
logs?
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:84: TextContext: Host
Endianness is 'Big Endian'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:141: Invalid locale info
detected! 'C'.
libgnupdf: ***DEBUG BASE***:base/pdf-text-context.c:216: Error detecting host
language.
gl_locale_name is returning the default POSIX locale... seems that
locale info was not correctly set in the process.
Is HAVE_SETLOCALE defined in config.h?
What does `locale' command say?