Package Details: mingw-w64-libxml2 2.9.6-1

Git Clone URL: (read-only)
Package Base: mingw-w64-libxml2
Description: XML parsing library, version 2 (mingw-w64)
Upstream URL:
Licenses: LGPL
Submitter: brcha
Maintainer: xantares
Last Packager: xantares
Votes: 14
Popularity: 0.569487
First Submitted: 2012-06-13 19:59
Last Updated: 2017-11-10 22:05

Latest Comments

xantares commented on 2014-10-26 09:14

yeah me too, but the binaires produced are correct, I tested both shared and static libs.

digifuzzy commented on 2014-10-25 20:09

updating this package I get a weird output sequence.
building will report an error of invalid pointer, dump a backtrace and memory map and then ask if package is to be installed.

Copy of sequence available at:

xantares commented on 2013-11-04 07:50

Seems he disowned, I updated it for him.

xantares commented on 2013-09-19 16:50


I think the missing !libtool was the cause:


xantares commented on 2013-09-19 16:48


I think i figured it out: you need the !libtool option instead of modifying LIBS


xantares commented on 2013-09-13 18:16


This fixes the url, the link flag, and the build dir creation:


xantares commented on 2013-09-13 10:27

Hey, it seems I'm full of crap for this linking bug.
But the http link is still more reliable.

xantares commented on 2013-09-13 10:26

Hey, it seems I'm full of crap for this linking bug.
But the html link is still more reliable.

ant32 commented on 2013-09-12 23:59

@xantares could you post a fixed src tarball for others to use until brcha is back again?

xantares commented on 2013-09-12 21:30

This time I've got a real bug :]

When you try to link a sample C executable with libxml2:
#include "libxml/parser.h"
int main()
printf("%d\n", xmlHasFeature(XML_WITH_THREAD));
return 0;

$ i686-w64-mingw32-gcc t_libxml2.c -I/usr/i686-w64-mingw32/include/libxml2
$ ./a.exe
err:module:import_dll Library iconv.dll (which is needed by L"Z:\\home\\xantares\\projects\\mingw-w64-test\\libxml2-2.dll") not found
err:module:import_dll Library libxml2-2.dll (which is needed by L"Z:\\home\\xantares\\projects\\mingw-w64-test\\a.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\xantares\\projects\\mingw-w64-test\\a.exe" failed, status c000

The problem is that libxml2 links both to symbols in libiconv.dll altough mingw-w64-libiconv ships libiconv-2.dll

One can fix that by replacing the iconv libs var: LIBS=-liconv in the PKGBUILD near the first patch line:
sed -i "s|liconv|liconv-2|g" configure

Check also the package mingw-w64-testsuite.


xantares commented on 2013-09-12 21:03

Correction: the ftp link works but not under my virtual machine.
It's ok on a real machine.

ant32 commented on 2013-09-04 13:47

brcha is on vacation. So it'll be a little while till he responds.

xantares commented on 2013-09-04 11:30

As for termcap, the ftp link does not work, prefer:


ant32 commented on 2013-05-11 14:28

extra/libxml2 is now at version 2.9.1