On Thu, Sep 20, 2012 at 06:50:29PM -0700, Leo Susanto wrote: > On Thu, Sep 20, 2012 at 5:16 PM, Tony Cook <t...@develop-help.com> wrote: > > Are these 64-bit libraries? Though that doesn't seem to be the > > problem in this case. > > > >> C:\CPANTE~1\PERL51~1.0_6\site\bin\g++.exe -o > >> blib\arch\auto\XML\LibXML\LibXML.dll -Wl,--base-file -Wl,dll.base -mdll > >> -L"C:\CPANTesters\Perl5.16.0_64\lib\CORE" Av_CharPtrPtr.o Devel.o > >> LibXML.o dom.o perl-libxml-mm.o perl-libxml-sax.o > >> xpath.o C:\CPANTesters\Perl5.16.0_64\lib\CORE\perl516.lib -lkernel32 > >> -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 > >> -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 > >> -lodbccp32 -lcomctl32 -lmsvcrt dll.exp > > > > I don't see -lxml or libxml in this link command. > > > > I suspect EU::MM is stripping out the -lxml2 (or -llibxml2 because it > > can't find it, while perhaps the test links Makefile.PL does can. > > > > Running Makefile.PL with LIBS: > > > > perl Makefile.PL LIBS=-Lc:/whereever/the/libraries/are > > > > may fix that. > > > Those are 32 bits libxml2. ,,, > > Do you think I have to recompile libxml2 from source using MinGW64?
Yes, or find a 64-bit prebuilt version. You can't use the 32-bit library from a 64-bit perl. You *might* be able to use the libxml2 supplied with strawberry perl, but I wouldn't put much effort into diagnosing it if it doesn't work first time. Tony