[xmlsec] Error: unable to load xmlsec-openssl library

Dan Yasny dyasny at redhat.com
Tue May 19 11:51:53 PDT 2009


Not in front of the machine atm, but I have checked, and the files are there in /usr/share/lib and .../lib64



Regards, 

Dan Yasny 


----- Original Message -----
From: "Aleksey Sanin" <aleksey at aleksey.com>
To: "Dan Yasny" <dyasny at redhat.com>
Cc: xmlsec at aleksey.com
Sent: Tuesday, May 19, 2009 8:52:30 PM (GMT+0200) Auto-Detected
Subject: Re: [xmlsec] Error: unable to load xmlsec-openssl library

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.


Aleksey

Dan Yasny wrote:
> Hi,
> 
> Trying to sign a file, like so:
> #xmlsec1 --sign --pubkey-cert-pem ./xmlsec/pub.pem --privkey-pem ./xmlsec/priv.pem file.xml > file.xml.1
> 
> I receive the following output:
> 
> func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=130:obj=xmlsec_lt_dlopen:subj=unknown:error=7:io function failed:filename=libxmlsec1-openssl.so
> func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=453:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl
> func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=404: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=69:obj=unknown:subj=cryptoShutdown:error=9:feature is not implemented: 
> func=xmlSecAppCryptoShutdown:file=crypto.c:line=48:obj=unknown:subj=xmlSecCryptoShutdown:error=1:xmlsec library function failed: 
> Error: xmlsec crypto shutdown failed.
> 
> 
> xmlsec1 1.2.9 as well as xmlsec-openssl 1.2.9 are installed through yum (using RHEL 5.3 x86_64)
> 
> 
> Thanks,
> Dan Yasny
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec


More information about the xmlsec mailing list