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

Dan Yasny dyasny at redhat.com
Tue May 19 10:08:25 PDT 2009


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


More information about the xmlsec mailing list