Thank you Quentin.This helps Regards Simon
On Fri, May 31, 2024 at 3:16 AM Quentin Schulz <quentin.sch...@cherry.de> wrote: > Hi Simon, > > On 5/30/24 7:21 PM, SIMON BABY via lists.yoctoproject.org wrote: > > Hello Alexander, > > > > Thank you for helping this out. > > > > I can see packages-split with below files: > > > > sbaby@eadlng-build-machine > :~/workspace/05162024_NIC/741819_NICOPS/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/rabbitmq-c/0.11.0-r0/packages-split/rabbitmq-c-tools$ > > ls -ll usr/bin/ > > total 104 > > -rwxr-xr-x 2 sbaby sbaby 22284 Mar 31 2021 amqp-consume > > -rwxr-xr-x 2 sbaby sbaby 18184 Mar 31 2021 amqp-declare-queue > > -rwxr-xr-x 2 sbaby sbaby 18184 Mar 31 2021 amqp-delete-queue > > -rwxr-xr-x 2 sbaby sbaby 18176 Mar 31 2021 amqp-get > > -rwxr-xr-x 2 sbaby sbaby 18184 Mar 31 2021 amqp-publish > > > > sbaby@eadlng-build-machine > :~/workspace/05162024_NIC/741819_NICOPS/build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/rabbitmq-c/0.11.0-r0/packages-split$ > > ls -ll rabbitmq-c/usr/lib/ > > total 80 > > lrwxrwxrwx 1 sbaby sbaby 20 Mar 31 2021 librabbitmq.so.4 -> > > librabbitmq.so.4.5.0 > > -rwxr-xr-x 2 sbaby sbaby 79204 Mar 31 2021 librabbitmq.so.4.5.0 > > > > > > > > However, On the target I could not see the amqp-* binaries under > /usr/bin. > > But I see the library librabbitmq.so.4.5.0. Is this expected? Do we need > > only the library to execute some client code with rabbitmq-c api ? > > > > root@sama7g5ek-sd:~# ls -ll /usr/lib/librabbitmq.so.4.5.0 > > -rwxr-xr-x 1 root root 79204 Mar 9 2018 /usr/lib/librabbitmq.so.4.5.0 > > > > root@sama7g5ek-sd:~# ls -ll /usr/bin/amqp-consume > > ls: cannot access '/usr/bin/amqp-consume': No such file or directory > > root@sama7g5ek-sd:~# > > root@sama7g5ek-sd:~# > > root@sama7g5ek-sd:~# > > root@sama7g5ek-sd:~# > > root@sama7g5ek-sd:~# ls -ll /usr/bin/amqp-* > > ls: cannot access '/usr/bin/amqp-*': No such file or directory > > > > The rabbitmq-c recipe generates multiple packages. One of those is > rabbitmq-c (named identically to the recipe) and another, > rabbitmq-c-tools. If you want the binaries, you need to install > rabbitmq-c-tools in your image as well (via e.g. IMAGE_INSTALL variable). > > One can know which package to install by using > > oe-pkgdata-util find-path '/usr/bin/amqp-*' > > this will list the package(s) that contains files matching the regular > expression. > > Cheers, > Quentin >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63249): https://lists.yoctoproject.org/g/yocto/message/63249 Mute This Topic: https://lists.yoctoproject.org/mt/106378618/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-