Re: [agl-dev-community] xmlsec1 - error in halibut 8.0.3 #help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 02 Feb 2020 18:43:05 -0800
"Janaki" <janaki.kuruganti@xxxxxxxxx> wrote:

> Hi All,
> 
> I am running the following command -
> 
> " xmlsec1 --sign --privkey-pem privkey.pem,cert.pem --output
> signed.xml tosign.xml"
> 
> But I ran into the following error -
> 
> func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=135:obj=unknown:subj=lt_dlopenext:error=7:io
> function failed:name="libxmlsec1-openssl";
> errno=2func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=441:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec
> library function
> failed:crypto=opensslfunc=xmlSecCryptoDLLoadLibrary:file=dl.c:line=398:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec
> library function failed:Error: unable to load xmlsec-openssl library.
> Make sure that you havethis it installed, check shared libraries path
> (LD_LIBRARY_PATH)envornment variable or use "--crypto" option to
> specify differentcrypto engine.Error: initialization failed

Hi Janaki,

I made the test here and found that the library
/usr/lib/libxmlsec1-openssl.so is found and used by xmlsec1 on the M3
board. 

The command `ls /usr/lib/libxmlsec1-*` shows:

 /usr/lib/libxmlsec1-gcrypt.so
 /usr/lib/libxmlsec1-gnutls.so
 /usr/lib/libxmlsec1-openssl.so
 /usr/lib/libxmlsec1-gcrypt.so.1
 /usr/lib/libxmlsec1-gnutls.so.1
 /usr/lib/libxmlsec1-openssl.so.1
 /usr/lib/libxmlsec1-gcrypt.so.1.2.26
 /usr/lib/libxmlsec1-gnutls.so.1.2.26
 /usr/lib/libxmlsec1-openssl.so.1.2.26

And the command `rpm -qf /usr/lib/libxmlsec1-openssl.so` shows:

 xmlsec1-dev-1.2.26-r0.aarch64

And the command `rpm -qf /usr/lib/libxmlsec1-openssl.so.1` shows:

 xmlsec1-1.2.26-r0.aarch64

I guess that there is some packaging issue in the yocto recipe of
xmlsec1.

To test you can try to install the RPM xmlsec1-dev.

Best regards
José

> I have already tried appending openssl-bin in the image.
> 
> Can anyone please share thoughts on this?
> Are there any xmlsec1 recipes need to be added to the image in order
> to resolve this error?
> 
> Thanks,
> Janaki
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8063): https://lists.automotivelinux.org/g/agl-dev-community/message/8063
Mute This Topic: https://lists.automotivelinux.org/mt/70936819/2167316
Mute #help: https://lists.automotivelinux.org/mk?hashtag=help&subid=4543822
Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx
Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/883735764/xyzzy  [list-automotive-discussions82@xxxxxxxxxxx]
-=-=-=-=-=-=-=-=-=-=-=-





[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux