I already installed openssl-0.9.8.tar<br>In my lib directory libxmlsec1-openssl.a is there not the dll file (libxmlsec1-openssl.dll)<br>Do I need to take some other version of openssl?<br><br>Can you please Help..?<br><br>
Regards<br>Braja<br><br><br><br><div class="gmail_quote">On Mon, Jun 8, 2009 at 8:01 PM, Aleksey Sanin <span dir="ltr"><<a href="mailto:aleksey@aleksey.com">aleksey@aleksey.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;">
Please read the error, it explains what needs to be done.<br>
<br>
Aleksey<br>
<br>
Braja Biswal wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Can you help?<br>
<br>
After taking the patch<br>
<br>
*xmlsec1-1.2.5.patch.bz2*<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=*cygxmlsec1-openssl-1.dll*<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></div></div>
Written by Aleksey Sanin <<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a> <mailto:<a href="mailto:aleksey@aleksey.com" target="_blank">aleksey@aleksey.com</a>>>.<div class="im"><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.*<br>
------------------------------------------------------------<br>
*<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>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
xmlsec mailing list<br>
<a href="mailto:xmlsec@aleksey.com" target="_blank">xmlsec@aleksey.com</a><br>
<a href="http://www.aleksey.com/mailman/listinfo/xmlsec" target="_blank">http://www.aleksey.com/mailman/listinfo/xmlsec</a><br>
</blockquote>
</blockquote></div><br>