我想在自定义的嵌入式linux (在raspberry pi 3板上)上运行一个自包含的.net-core应用程序。为了构建linux发行版,我使用了带有meta-raspberry层的yocto (thud分支)。为了满足.net-core的需求,我创建了一个镜像食谱,其中包括这里描述的其他包:https://github.com/dotnet/core/blob/master/samples/YoctoInstructions.md
"libunwind icu libcurl openssl“
yocto成功地构建了finsihes。但是如果我运行我的自含式.net-core应用程序,我得到一个错误消息“没有找到可用的libssl”,并且应用程序被终止。
我检查了rootfs中的libssl部署。Libssl在那里,但我认为是错误的版本: libssl.so.1.1。如果我没记错的话,.net-core需要1.0版的openssl。因此,我尝试将openssl10包包含到我的映像中。
这是我目前的形象-食谱:
SUMMARY = "Linux Image which supports .net executables"
include recipes-core/images/core-image-base.bb
IMAGE_INSTALL += "libunwind icu libcurl openssl10 curl"
LICENSE = "MIT"
此外,映像构建也成功完成。但rootfs中只包含libssl.so.1.1。
有没有可能在两个不同的版本中安装openssl?(libssl.so.1.1是由其他一些食谱引入的)或者,它可能不是版本问题,而是其他依赖问题?
转载请注明出处:http://www.jubohx.com/article/20230428/1273312.html