[xmlsec] support for dl library on Win32?

Julianne Bielski bielsk at us.ibm.com
Thu Oct 9 07:44:00 PDT 2003


I downloaded libxmlsec-1.1.1, libxml2-2.5.10, openssl-0.9.7.a and 
iconv-1.8 from Igor's sight to my Windows XP system using VC 6.

I've been trying to compile the verifysig.c file, but I keep getting a 
linker error related to xmlSecCryptoDLLoadLibrary(). I do want to load my 
crypto library (openssl) dynamically at run time and am linking to the 
stub library in my makefile.

After running dumpbin against libxmlsec and libxmlsec-opensll, I 
discovered that there is no export entry for xmlSecCryptoDLLoadLibrary. 
Furthermore, I can't find it in any make file.

What am I missing?

Here's a snippet of my makefile:
.
.
.
verifysig.obj:
        cl /MD /Gm /GX /W3 /nologo /Od /ZI /FD /GZ /c /I 
c:\openssl-0.9.7a.win32\openssl-0.9.7a.win32\include /I 
c:\iconv-1.8.win32\iconv-1.8.win32\include /I 
c:\libxml2-2.5.10.win32\libxml2-2.5.10.win32\include /I 
c:\libxmlsec-1.1.1.win32\libxmlsec-1.1.1.win32\include /I 
c:\rr_bld~1\visualc.60\include /I c:\rr_bld~1\visualc.60\atl\include /D 
"XMLSEC_CRYPTO_OPENSSL" /D "XMLSEC_CRYPTO_DYNAMIC_LOADING" /D 
"LIBXML_THREAD_ENABLED" /D "XMLSEC_NO_XSLT" /D "_DEBUG" /D "_WIN32" /D 
"WIN32" /D "_WINDOWS" /D "WIN32_LEAN_AND_MEAN" verifysig.c

akcli.exe: SAX2Manifest.obj verifysig.obj
        link /libpath:c:\rr_bld~1\visualc.60\lib 
/libpath:c:\openssl-0.9.7a.win32\openssl-0.9.7a.win32\lib 
/libpath:c:\iconv-1.8.win32\iconv-1.8.win32\lib 
/libpath:c:\libxml2-2.5.10.win32\libxml2-2.5.10.win32\lib 
/libpath:c:\libxmlsec-1.1.1.win32\libxmlsec-1.1.1.win32\lib libxml2.lib 
libxmlsec-openssl.lib libxmlsec.lib verifysig.obj SAX2Manifest.obj 
/out:akcli.exe

-- Regards,

J. Bielski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20031009/f7ec22c0/attachment.htm


More information about the xmlsec mailing list