[xmlsec] solve unload openssl problems

J Gsealy jiaojingwei1001 at hotmail.com
Wed Jul 25 19:29:50 PDT 2018

Hi all:
       I want to add new algorithm to xmlsec (EC algorithm with new curve, and new digest algorithm),
the openssl have modified yet, and use normally.But when I add algorithm to xmlsec, and add new
element <ECKeyValue> and <PublicKey>. I have modified include file <app.h>, <private.h>, <string.h>,
<openssl/crypto.h>, <openssl/symbols.h>. And C file app.c, dl.c, string.c, openssl/crypto.c, openssl/signature.c .
Compile can pass, but can’t load “xmlsec1-openssl”.
There are error info:
loading "library openssl"...
name:openssl, filename:libxmlsec1-openssl, function:xmlSecCryptoGetFunctions_openssl....
func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=138:obj=unknown:subj=lt_dlopenext:error=7:io function failed:name="libxmlsec1-openssl"; errno=2
func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=444:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl
func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=401:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec library function failed:
Error: unable to load xmlsec-openssl library. Make sure that you have
this it installed, check shared libraries path (LD_LIBRARY_PATH)
envornment variable or use "--crypto" option to specify different
crypto engine.
Error: initialization failed
func=xmlSecCryptoShutdown:file=app.c:line=71:obj=unknown:subj=unknown:error=9:feature is not implemented:details=cryptoShutdown
Error: xmlSecCryptoShutdown failed
Error: xmlsec crypto shutdown failed.
Which area should I change?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20180726/f0537d21/attachment.html>

More information about the xmlsec mailing list