All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][m-c-s][hardknott][PATCH] python3-posix-ipc: Add LDSHARED to recipe
@ 2021-10-25 15:46 Trevor Gamblin
  2021-10-29  1:12 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Gamblin @ 2021-10-25 15:46 UTC (permalink / raw)
  To: meta-virtualization

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 <trevor.gamblin@windriver.com>
---
 .../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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-29  1:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-25 15:46 [meta-virtualization][m-c-s][hardknott][PATCH] python3-posix-ipc: Add LDSHARED to recipe Trevor Gamblin
2021-10-29  1:12 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.