diff options
author | Julien STEPHAN <jstephan@baylibre.com> | 2022-05-11 10:14:09 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-05-12 09:16:11 -0700 |
commit | 3de996474e0b7fdff1d265fcad747bd60851b1eb (patch) | |
tree | bd24a807241aa9f5d44896ee6d53748a08372598 /meta-multimedia/recipes-multimedia/libcamera | |
parent | 74026b53f721ae2f88b0cf16406726516f5d947c (diff) | |
download | meta-openembedded-3de996474e0b7fdff1d265fcad747bd60851b1eb.tar.gz |
libcamera: fix packaging
libcamera.so.0 and libcamera-base.so.0 are packaged in ${PN}-dev although
they should be packaged in ${PN}. See poky/meta/conf/bitbake.conf.
This trigger the following error when trying to run the `cam` utility
(packaged inside ${PN}):
$ cam -l
cam: error while loading shared libraries: libcamera.so.0: cannot open shared object file: No such file or directory
$ read-elf -d /usr/bin/cam
Dynamic section at offset 0x2c740 contains 37 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libcamera.so.0]
0x0000000000000001 (NEEDED) Shared library: [libcamera-base.so.0]
[...]
So package libcamera is broken and need to be installed along with
libcamera-dev to be functionnal. Fix it by packaging libcamera.so.0 and
libcamera-base.so.0 into ${PN}
Signed-off-by: Julien STEPHAN <jstephan@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/libcamera')
-rw-r--r-- | meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb index 713626069..0b9f3f7a5 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera.bb | |||
@@ -64,10 +64,10 @@ do_recalculate_ipa_signatures_package() { | |||
64 | 64 | ||
65 | FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig" | 65 | FILES:${PN}-dev = "${includedir} ${libdir}/pkgconfig" |
66 | FILES:${PN}-dev += " ${libdir}/libcamera.so" | 66 | FILES:${PN}-dev += " ${libdir}/libcamera.so" |
67 | FILES:${PN}-dev += " ${libdir}/libcamera.so.0" | 67 | FILES:${PN} += " ${libdir}/libcamera.so.0" |
68 | FILES:${PN} += " ${libdir}/libcamera.so.0.0.0" | 68 | FILES:${PN} += " ${libdir}/libcamera.so.0.0.0" |
69 | FILES:${PN}-dev += " ${libdir}/libcamera-base.so" | 69 | FILES:${PN}-dev += " ${libdir}/libcamera-base.so" |
70 | FILES:${PN}-dev += " ${libdir}/libcamera-base.so.0" | 70 | FILES:${PN} += " ${libdir}/libcamera-base.so.0" |
71 | FILES:${PN} += " ${libdir}/libcamera-base.so.0.0.0" | 71 | FILES:${PN} += " ${libdir}/libcamera-base.so.0.0.0" |
72 | FILES:${PN} += " ${libdir}/v4l2-compat.so" | 72 | FILES:${PN} += " ${libdir}/v4l2-compat.so" |
73 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0/libgstlibcamera.so" | 73 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0/libgstlibcamera.so" |