python3-posix-ipc: Add LDSHARED to recipe
PATCH 1/1 python3-posix-ipc: Add LDSHARED to recipe
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(+)
meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb +2 -0
@@ -20,6 +20,8 @@ DEPENDS += " \ ${PYTHON_PN}-pip \ " +LDSHARED="${CCLD} -shared -lrt" + # RDEPENDS_default: RDEPENDS_${PN} += " \ "
Signature · 1 line
2.33.0
In message: [meta-virtualization][m-c-s][hardknott][PATCH] python3-posix-ipc: Add LDSHARED to recipe
Quoted 5 lines · on 25/10/2021 Trevor Gamblin wrote:
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_unlinkSet LDSHARED for the recipe with "-lrt" included to fix this.
Thanks for the fix, most appreciated.
This is now merged.
Bruce
Quoted 26 lines
Signed-off-by Trevor Gamblin <[email protected]>--- .../recipes-devtools/python/python3-posix-ipc_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+)meta-openstack/recipes-devtools/python/python3-posix-ipc_1.0.4.bb +2
-0@@ -20,6 +20,8 @@ DEPENDS += " \ ${PYTHON_PN}-pip \ " +LDSHARED="${CCLD} -shared -lrt" + # RDEPENDS_default: RDEPENDS_${PN} += " \ "Signature · 1 line
2.33.0