Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: if Digest::SHA1 loaded Can't load LibXML/LibXML.dll Invalid access to memory locationby Anonymous Monk |
on Dec 05, 2012 at 05:32 UTC ( [id://1007202]=note: print w/replies, xml ) | Need Help?? |
When I try to build XML-LibXML-2.0012 against a static libxml2.a, the build fails because it expects dynamic libxml2 symbols (prefixed with '_imp__'). If you're getting that _imp stuff you're building against the DLL -- you need perl Makefile.PL DEFINE=" -DLIBXSLT_STATIC -DLIBEXSLT_STATIC -DLIBXML_STATIC " ... to build sucessfully against static version, in addition to the appropriate LIBS/INC The problem with Makefile.PL is it rewrites my LIBS/INC arguments to what it thinks should be -- doesn't let me choose between static/dynamic -- kind of defeats the purpose of those args Hmm, I guess I could have installed the static/dynamic versions in different directories -- then when Makefile.PL does its detecting it can't choose wrong -- I guess
In Section
Seekers of Perl Wisdom
|
|