AWS-LC conflicts with Openssl #3079
-
I saw the following error while building my sdk using Yocto kirkstone
I believe the problem is related to the change of installed path form "${libdir}/aws-lc/" to "${libdir}/". Aws-lc tries to replace existing shared libs installed by Openssl |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
@ghensto did you find some time to check again with the current release? |
Beta Was this translation helpful? Give feedback.
-
@thomas-roos my apologizes for the late reply. aws-lc and openssl are being installed explicitly in our image's recipe. In our Yocto configuration Qt 5 libraries install OpenSSL 3 as a requirement. My thought was to remove aws-lc but I'm not sure about the consequences of the change being made in your fork of openssl and if that should overwrite the default ssl shared libraries. Also, couple of weeks ago, we had some trouble using the openssl crypto libraries within our aws-iot setup and had to use the one provided by aws-lc . |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response! |
Beta Was this translation helpful? Give feedback.
-
Will convert this to a discussion - probably more customers will have this question |
Beta Was this translation helpful? Give feedback.
Hi,
are you installing aws-lc explicit or through a dependency?
aws-lc and openssl will not work together, since aws-lc is an openssl fork and will build same name shared libs.
This was broken in the past by installing to a subdir aws-lc, but they were not used afaik. It just did use the installed openssl, which is not good to build against a different lib than the used one.
And please check kirkstone branch again, just released kirkstone-next to it - there were changes regarding this as well.