Some libraries are missing in the final rootfs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Some libraries are missing in the final rootfs

ソリューションへジャンプ
3,591件の閲覧回数
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,396件の閲覧回数
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,396件の閲覧回数
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,397件の閲覧回数
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,396件の閲覧回数
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 件の賞賛