In message: [meta-virtualization][m-c-s][hardknott][PATCH] python3-posix-ipc: 
Add LDSHARED to recipe
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_unlink
> 
> Set LDSHARED for the recipe with "-lrt" included to fix this.

Thanks for the fix, most appreciated.

This is now merged.

Bruce

> 
> 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 (#6866): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6866
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to