Yocto Project Discussions
 help / color / mirror / Atom feed
* [yocto][meta-openembedded] How to properly build a lib package
@ 2024-08-07  8:47 Yann CARDAILLAC Pro
  2024-08-07  9:12 ` Alexander Kanavin
  2024-08-07  9:21 ` Mikko Rapeli
  0 siblings, 2 replies; 10+ messages in thread
From: Yann CARDAILLAC Pro @ 2024-08-07  8:47 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]

Hi all,

I'm working on upgrading different yocto BSPs to scarthgap, I'm having an
error that I haven't seen. It's the one described here on stack overflow by
someone else:

https://stackoverflow.com/questions/64984897/yocto-package-requires-shared-library-but-no-providers-found-in-rdepends

I have a very simple C library package that provides a shared library.

My package is looking very close to:
meta-openembedded/meta-oe/recipes-extended/p7zip/p7zip_16.02.bb
<https://github.com/openembedded/meta-openembedded/blob/master/meta-oe/recipes-extended/p7zip/p7zip_16.02.bb>

I don't really understand why we need to add the lib7z.so()(64bit)? Is
there a "proper" way of avoiding that as it's not so common in other libs?

I'm also not comfortable adding :
INSANE_SKIP:${PN} += "dev-so"

If any, can you point me to a simple library build that doesn't require the
(64bit) that I don't really understand nor the INSANE_SKIP ? To sum up my
need is to have a simple recipe for a shared library.

Best regards,

Yann CARDAILLAC

[-- Attachment #2: Type: text/html, Size: 1467 bytes --]

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

end of thread, other threads:[~2024-09-04  8:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07  8:47 [yocto][meta-openembedded] How to properly build a lib package Yann CARDAILLAC Pro
2024-08-07  9:12 ` Alexander Kanavin
2024-08-07  9:21 ` Mikko Rapeli
2024-08-07 13:13   ` Yann CARDAILLAC Pro
2024-08-07 13:19     ` Mikko Rapeli
2024-08-07 14:14       ` Yann CARDAILLAC Pro
2024-08-07 14:20         ` Mikko Rapeli
2024-08-28  9:50           ` Yann CARDAILLAC Pro
2024-08-29  7:34             ` Mikko Rapeli
2024-09-04  8:55               ` Ola x Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox