[xmlsec] Compilation of XmlSec Application on Windows

Aleksey Sanin aleksey at aleksey.com
Sat May 22 22:13:56 PDT 2010


You obviously have a problem with compiling the library. You need
to make sure you use the same compiler/linker and same target for
all your libraries.

Aleksey

On 5/22/2010 9:55 PM, rahul kumar wrote:
> Hi Aleksey,
>
> Thanks for your quick response. I have gone through the link provided by
> you.
> Just to add further.
>
> There is a difference between the linking of the application xmlsec.exe
> provided in the site and my application
> (i) Application xmlsec.exe is not linked to libxmlsec-openssl.dll but my
> application is not linked
>
> And after doing some analysis I found that the libxmlsec-openssl.dll is
> internally calling c:\windows\system32\LIBEAY32.DLL ( I have installed
> OpenSSL light) and inside the c:\windows\system32\LIBEAY32.DLL the
> application crashes at function OSSL_libdes_version.
>
> Please provide your views.
>
> Regards,
> Rahul.
>
>
> On Sun, May 23, 2010 at 8:40 AM, Aleksey Sanin <aleksey at aleksey.com
> <mailto:aleksey at aleksey.com>> wrote:
>
>     Take a look at section 2.7 from the FAQ
>
>     https://www.aleksey.com/xmlsec/faq.html
>
>     Aleksey
>
>
>     On 5/22/2010 7:44 PM, rahul kumar wrote:
>
>         Hi Aleksey,
>
>         I am using xmlsec API on windows XP ( 32 bit) and once I use try to
>         verify the my license file from my written application it crashes
>
>         "
>
>           I have compiled the xmlsec1-1.2.12 ( also tried by downloading the
>         xmlsec1-1.2.13)on windows and my application crashes when call the
>         function xmlSecDSigCtxVerify.
>
>         I am using the same version of XMLSEC on my Linux environment
>         and it is
>         working fine. I am using openssl 1.0.0 version ( Openssl Lite on
>         Windows).
>
>         After my analysis I found that the application crashes in function
>         xmlSecTransformC14NPushXml ( In file c14n.c) where it calls the
>         function
>         xmlOutputBufferClose(buf), if I comment this function then the
>         operation
>         fails but the application doesnt crash.
>
>         "
>
>         But when I try to verify my license file using the application
>         provided
>         along with xmlsec library for windows it works fine. The libxml2 and
>         openSSL libraries are same in both the scenario.
>
>         It will be great help if you can guide me how the application
>         provided
>         with xmlsex ( i.e. xmlsec.exe ) is compiled.
>
>         Regards,
>
>         Rahul.
>
>
>
>         _______________________________________________
>         xmlsec mailing list
>         xmlsec at aleksey.com <mailto:xmlsec at aleksey.com>
>         http://www.aleksey.com/mailman/listinfo/xmlsec
>
>


More information about the xmlsec mailing list