Doing "import posix_ipc" on hardknott builds gives the following error:
ImportError: /usr/lib/python3.9/site-packages/posix_ipc.cpython-39-x86_64-linux-gnu.so: undefined symbol: shm_unlink Set LDSHARED for the recipe with "-lrt" included to fix this. Signed-off-by: Trevor Gamblin <[email protected]> --- .../recipes-devtools/python/python3-posix-ipc_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb b/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb index 2e8dca06..cded499d 100644 --- a/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb +++ b/meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb @@ -20,6 +20,8 @@ DEPENDS += " \ ${PYTHON_PN}-pip \ " +LDSHARED="${CCLD} -shared -lrt" + # RDEPENDS_default: RDEPENDS_${PN} += " \ " -- 2.33.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#6852): https://lists.yoctoproject.org/g/meta-virtualization/message/6852 Mute This Topic: https://lists.yoctoproject.org/mt/86580329/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
