[poky] Installing shared libraries for custom application
Fletzer Martin
Martin.Fletzer at ait.ac.at
Sun Jun 24 05:53:29 PDT 2012
Thank you for the fast response.
I tried again with an unmodified master checkout, building core-image-minimal.
I added RDEPENDS = "ncurses-libform" without success. Bitbake returns Nothing Provides.
Then I added the following line to ncurses.inc:
PACKAGES_DYNAMIC="ncurses-lib*"
I tried it, because other recipes use it.
Now I can install the runtime libraries of ncurses to the image with IMAGE_INSTALL += "ncurses-libform".
Is it right to set PACKAGES_DYNAMIC?
Best regards,
Martin
-----Ursprüngliche Nachricht-----
Von: poky-bounces at yoctoproject.org [mailto:poky-bounces at yoctoproject.org] Im Auftrag von Tomas Frydrych
Gesendet: Freitag, 22. Juni 2012 11:13
An: poky at yoctoproject.org
Betreff: Re: [poky] Installing shared libraries for custom application
Hi,
On 22/06/12 09:38, Fletzer Martin wrote:
> But now I'm not able to install shared libraries of ncurses for a custom image. Namely libform, libmenu, and libpanel.
> I always get a "Error: Nothing PROVIDES ..."
'Nothing PROVIDES' means there is no bb recipe that provides the a dependency, i.e., there is no bb recipe that declares it provides 'libform'. The libform package is generated dynamically from the ncurses package, so the correct DEPENDS (which denotes a *build-time* dependency), is 'ncurses'.
> How can I install this shared libraries to a custom image?
If your application links against libform, then this should be automatically pulled into the image; you can manually add something to a package run-time dependencies by adding it to the RDEPENDS variable (as Jack says, in this case that should be 'ncurses-libform'), but you should only need to do this for a library if the application dlopens it.
I hope this helps,
Tomas
>
> Thanks,
> Martin
>
>
> MARTIN FLETZER
> Engineer
> Safety & Security Department
> Video and Security Technology
>
> AIT Austrian Institute of Technology GmbH M +43 664 8251090 | F +43
> 50550-4150 Donau-City-Straße 1 | 1220 Vienna | Austria
> martin.fletzer at ait.ac.at<mailto:martin.fletzer at ait.ac.at> |
> http://www.ait.ac.at<http://www.ait.ac.at/>
>
> FN: 115980 i HG Wien | UID: ATU14703506 This email and any
> attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient, please notify the sender by return e-mail or by telephone and delete this message from your system and any printout thereof. Any unauthorized use, reproduction, or dissemination of this message is strictly prohibited. Please note that e-mails are susceptible to change. AIT Austrian Institute of Technology GmbH shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor shall it be liable for any delay in its receipt.
>
>
>
>
>
>
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
_______________________________________________
poky mailing list
poky at yoctoproject.org
https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list