* Installing shared libraries for custom application
@ 2012-06-22 8:38 Fletzer Martin
2012-06-22 8:54 ` Jack Mitchell
2012-06-22 9:12 ` Tomas Frydrych
0 siblings, 2 replies; 4+ messages in thread
From: Fletzer Martin @ 2012-06-22 8:38 UTC (permalink / raw)
To: poky@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1679 bytes --]
Hello everybody,
I'm already working with Poky for serveral months. Nice tool.
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 ..."
I tried to extend my image recipie with IMAGE_INSTALL += "libform".
I also tried libform5 and ncurses-libform.
But libtinfo5 is already installed, because bash depends on it.
If I try to install libtinfo manually with IMAGE_INSTALL, I get the same error as with libform.
How can I install this shared libraries to a custom image?
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@ait.ac.at<mailto:martin.fletzer@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.
[-- Attachment #2: Type: text/html, Size: 5679 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Installing shared libraries for custom application
2012-06-22 8:38 Installing shared libraries for custom application Fletzer Martin
@ 2012-06-22 8:54 ` Jack Mitchell
2012-06-22 9:12 ` Tomas Frydrych
1 sibling, 0 replies; 4+ messages in thread
From: Jack Mitchell @ 2012-06-22 8:54 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 2318 bytes --]
On 22/06/12 09:38, Fletzer Martin wrote:
>
> Hello everybody,
>
> I'm already working with Poky for serveral months. Nice tool.
>
> 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 ..."
>
> I tried to extend my image recipie with IMAGE_INSTALL += "libform".
>
> I also tried libform5 and ncurses-libform.
>
> But libtinfo5 is already installed, because bash depends on it.
>
> If I try to install libtinfo manually with IMAGE_INSTALL, I get the
> same error as with libform.
>
> How can I install this shared libraries to a custom image?
>
> 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@ait.ac.at <mailto:martin.fletzer@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
Hi Martin,
From a quick grep of my recipes directory it seems as though these
libraries need to be pre-fixed with ncurses. For example:
ncurses-libform
See how that treats you!
Regards,
--
Jack Mitchell (jack@embed.me.uk)
Embedded Systems Engineer
http://www.embed.me.uk
--
[-- Attachment #2: Type: text/html, Size: 8066 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Installing shared libraries for custom application
2012-06-22 8:38 Installing shared libraries for custom application Fletzer Martin
2012-06-22 8:54 ` Jack Mitchell
@ 2012-06-22 9:12 ` Tomas Frydrych
2012-06-24 12:53 ` Fletzer Martin
1 sibling, 1 reply; 4+ messages in thread
From: Tomas Frydrych @ 2012-06-22 9:12 UTC (permalink / raw)
To: poky
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@ait.ac.at<mailto:martin.fletzer@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Installing shared libraries for custom application
2012-06-22 9:12 ` Tomas Frydrych
@ 2012-06-24 12:53 ` Fletzer Martin
0 siblings, 0 replies; 4+ messages in thread
From: Fletzer Martin @ 2012-06-24 12:53 UTC (permalink / raw)
To: Tomas Frydrych, poky@yoctoproject.org
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@yoctoproject.org [mailto:poky-bounces@yoctoproject.org] Im Auftrag von Tomas Frydrych
Gesendet: Freitag, 22. Juni 2012 11:13
An: poky@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@ait.ac.at<mailto:martin.fletzer@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
_______________________________________________
poky mailing list
poky@yoctoproject.org
https://lists.yoctoproject.org/listinfo/poky
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-06-24 12:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-22 8:38 Installing shared libraries for custom application Fletzer Martin
2012-06-22 8:54 ` Jack Mitchell
2012-06-22 9:12 ` Tomas Frydrych
2012-06-24 12:53 ` Fletzer Martin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.