Hi all,
I've encountered a weird issue around the ppp recipe in Wrynose (confirmed
Walnascar and Scarthgap NOT affected).
At build time, everything compiles and packages fine. At runtime, pppd fails
with the message "Could not load legacy provider, could not load the shared
library". Querying OpenSSL confirms the legacy provider is not available within
the distro.
After some testing, I've managed to get it working by adding a couple of
bbappends to my image recipe:
openssl_%.bbappend
PACKAGECONFIG:append = " legacy"
ppp_%.bbappend
RDEPENDS:${PN} += "openssl-ossl-module-legacy"
In my vision, the patch should be touching just here
[ref.
https://git.openembedded.org/openembedded-core/tree/meta/recipes-connectivity/ppp/ppp_2.5.2.bb?h=wrynose#n37]
- PACKAGECONFIG[openssl] = "--with-openssl=yes,--with-openssl=no,openssl"
+ PACKAGECONFIG[openssl] =
"--with-openssl=yes,--with-openssl=no,openssl,openssl-ossl-module-legacy"
but that alone doesn't imply configuring OpenSSL to build legacy.so. What would
be the correct approach to enable the legacy module when ppp is required?
Input about this is very welcome. Once figured out, I'm open to submit a patch.
---
Enrico Zaghini
Software R&D Department - Dinamica Generale SpA
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#240878):
https://lists.openembedded.org/g/openembedded-core/message/240878
Mute This Topic: https://lists.openembedded.org/mt/120264579/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-