[poky] Installing shared libraries for custom application

Tomas Frydrych tf+lists.yocto at r-finger.com
Fri Jun 22 02:12:50 PDT 2012


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




More information about the poky mailing list