Some libraries are missing in the final rootfs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Some libraries are missing in the final rootfs

跳至解决方案
3,981 次查看
chandraevolute
Contributor V

Hi I am adding ICU to my build. I am bitbaking my own recipe.

bitbake dai-image-hello

In this i just added one hello world source, freetyp62 and ICU packages.

In ICU total 7.so files will be generated. When I chacked in the build folder

when I do bitbake -c compile icu and bitbake icu

Build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/icu/54.1/ all the 7 libraries got generated

libicudata.so.54.1  libicui18n.so.54.1  libicuio.so.54.1  libicule.so.54.1  libiculx.so.54.1  libicutu.so.54.1  libicuuc.so.54.1

When I do bitbake dai-image-hello only 5 so files are getting copied to rootfs.

 libicudata.so.54.1,libicui18n.so.54.1,libicuio.so.54.1, libicutu.so.54.1, libicuuc.so.54.1 

 

dai-image-hello.bb is my image bitbake file contents are

include recipes-core/images/core-image-base.bb

 

IMAGE_INSTALL += " \
    helloworld \
    icu \
    freetype \
"

 

export IMAGE_BASENAME = "dai-image-hello"

 

attached are the ICU related bb files and include files

 

Original Attachment has been moved to: icu.inc.zip

Original Attachment has been moved to: icu_54.1.bb.zip

标签 (3)
0 项奖励
回复
1 解答
2,786 次查看
chandraevolute
Contributor V

Hi

i got the solution

I came to know that recipes and packages differ. I searched for ICU packages and gave the correct package name which installs all the libraries

After reading from the below link i got the right package and then everything got installed

https://blogs.mentor.com/chrishallinan/blog/2012/04/27/more-on-yocto-terminology-recipes-and-package... 

Thank you

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,786 次查看
igorpadykov
NXP Employee
NXP Employee

Hi chandra

please check

http://userguide.icu-project.org/howtouseicu
http://userguide.icu-project.org/icufaq

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
2,787 次查看
chandraevolute
Contributor V

Hi

i got the solution

I came to know that recipes and packages differ. I searched for ICU packages and gave the correct package name which installs all the libraries

After reading from the below link i got the right package and then everything got installed

https://blogs.mentor.com/chrishallinan/blog/2012/04/27/more-on-yocto-terminology-recipes-and-package... 

Thank you

0 项奖励
回复
2,786 次查看
chandraevolute
Contributor V

Hi igorpadykov

The links doesn't provide any solution. I already have experience in working with ICU on UBUNTU machine. I am trying to port the same thing with I.Mx6 using yocto.

the problem is in the final rootfs ICU header files and some of the ICU shared libraries are not installed even though there is no error in compiling the package. Out of 8 libraries only 5 are getting installed.

0 项奖励
回复