Some libraries are missing in the final rootfs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Some libraries are missing in the final rootfs

Jump to solution
3,589 Views
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

Labels (3)
0 Kudos
1 Solution
2,394 Views
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

View solution in original post

0 Kudos
3 Replies
2,394 Views
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 Kudos
2,395 Views
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 Kudos
2,394 Views
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 Kudos