I am able to fix the problem by giving <br><br>./configure --enable-crypto-dl=no --with-openssl=/usr/local/ssl<br>Its working for me now.<br><br><br><div class="gmail_quote">On Mon, Jun 8, 2009 at 7:30 PM, Braja Biswal <span dir="ltr"><<a href="mailto:be.biswal@gmail.com">be.biswal@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Can you help?<br><br>After taking the patch<br><br><b>xmlsec1-1.2.5.patch.bz2</b><br><br>Its giving Error Like<br>
$ xmlsec1 --encrypt doc-x509.xml<br>func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=130:obj=xmlsec_lt_dlopen:subj=unknown:error=7:io function failed:filenam<br>
e=<b>cygxmlsec1-openssl-1.dll</b><br>func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=457:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec li<br>brary function failed:crypto=openssl<br>func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=408:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec libr<br>
ary function failed:<br>Error: unable to load xmlsec-openssl library. Make sure that you have<br>this it installed, check shared libraries path (LD_LIBRARY_PATH)<br>envornment variable or use "--crypto" option to specify different<br>
crypto engine.<br>Error: initialization failed<br>Usage: xmlsec <command> [<options>] [<file>]<br><br>xmlsec is a command line tool for signing, verifying, encrypting and<br>decrypting XML documents. The allowed <command> values are:<br>
--help display this help information and exit<br> --help-all display help information for all commands/options and exit<br> --help-<cmd> display help information for command <cmd> and exit<br> --version print version information and exit<br>
--keys keys XML file manipulation<br> --sign sign data and output XML document<br> --verify verify signed document<br> --sign-tmpl create and sign dynamicaly generated signature template<br> --encrypt encrypt data and output XML document<br>
--decrypt decrypt data from XML document<br><br><br>Report bugs to <a href="http://www.aleksey.com/xmlsec/bugs.html" target="_blank">http://www.aleksey.com/xmlsec/bugs.html</a><br><br>Written by Aleksey Sanin <<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>>.<br>
<br>Copyright (C) 2002-2003 Aleksey Sanin.<br>This is free software: see the source for copying information.<br><br>func=xmlSecCryptoShutdown:file=app.c:line=69:obj=unknown:subj=cryptoShutdown:error=9:feature is not implemented:<br>
func=xmlSecAppCryptoShutdown:file=crypto.c:line=48:obj=unknown:subj=xmlSecCryptoShutdown:error=1:xmlsec library function<br> failed:<br>Error: xmlsec crypto shutdown failed.<b><br>------------------------------------------------------------<br>
</b><br><br>$ xmlsec1 --encrypt knowledge-schema.xml<br>func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=130:obj=xmlsec_lt_dlopen:subj=un<br>known:error=7:io function failed:filename=libxmlsec1-openssl.dll<br>func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=453:obj=unknown:subj=xmlSe<br>
cCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl<br>func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=404:obj=unknown:subj=xmlSecCryptoD<br>LGetLibraryFunctions:error=1:xmlsec library function failed:<br>
Error: unable to load xmlsec-openssl library. Make sure that you have<br>this it installed, check shared libraries path (LD_LIBRARY_PATH)<br>envornment variable or use "--crypto" option to specify different<br>
crypto engine.<br>
Error: initialization failed<br><br>The files libxmlsec1-openssl.{a|la} are in /usr/local/lib.<br>openssl version 0.9.7d<br>xmlsec 1.2.5<br>
</blockquote></div><br>