Re: Unable to dynamically load crypto lib

Aleksey Sanin <[email protected]>
Newsgroups gmane.text.xml.xmlsec
Message-ID <[email protected]>
http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html

Aleksey

On 10/8/15 10:50 PM, Ani A wrote:
> Hello,
> 
> I am using xmlsec with Lasso [1], I compiled both, from source [2].
> When I tried running an example
> program, I got the following error:
> 
> 
>   $ ./main ./key.pem ./cert.pem
>   func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=146:obj=lt_dlopenext:subj=unknown:error=7:io
> function failed:filename=libxmlsec1-openssl
>   func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=498:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec
> library function failed:crypto=openssl
>   func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=449:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec
> library function failed:
> 
>   (process:31116): Lasso-CRITICAL **: 2015-10-08 18:09:32
> (lasso.c/:182) Unable to load default xmlsec-crypto library. Make sure
>   that you have it installed and check shared libraries
> path(LD_LIBRARY_PATH) environment variable.
> 
> 
> xmlsec seems to be using openssl as the crypto lib, and I have openssl
> installed:
> 
>   ani@bld:sp-cgi$ pkg-config --modversion openssl
>   1.0.1
> 
> I also tried:
> 
>    $ export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
> 
> Didnt help!
> 
> Does this have to do with any missing flag to `configure` script ? or
> I am missing some other
> dependency here?
> 
> 
> [1] http://lasso.entrouvert.org/
> [2] I am on Ubuntu 12.04 server - and somehow I was unable to install
> xmlsec via apt-get
> 
> --
> Ani
> _______________________________________________
> xmlsec mailing list
> [email protected]
> http://www.aleksey.com/mailman/listinfo/xmlsec
> 
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.