Skip to contentSkip to conversation

raspberrypi missing libtclstub8.6.a on target system

yocto Ed Vidal 1 participant 1 message Feb 3, 2020 1 message not in the archive

lore
Share & tools
lore

Ed Vidal

author
#1 lore raw
In reply to a message not in the archive

Quentin,I added to my local.confEXTRA_IMAGE_FEATURES ?= "debug-tweaks dev-pkgs tools-sdk doc-pkgs staticdev-pkgs" Thanks for the quick reply. That fixed the problem of not having libtclstub8.6.aI will look into the formatting of my e-mail.Best regards,Ed Edward Vidal Jr. e-mail [email protected] 915-595-1613

On Monday, February 3, 2020, 9:09:35 AM MST, Quentin Schulz <[email protected]> wrote:

Hi Ed,

Quoted 10 lines · Ed Vidal

Hello all,
Is it normal to not include the  static librarieson the filesystem root?
I created a raspberrypi4 image.  This image was created with docker using crops.
bitbake core-image-sato was 7078 tasks
Build Configuration:BB_VERSION           = "1.44.0"BUILD_SYS            = "x86_64-linux"NATIVELSBSTRING      = "universal"TARGET_SYS           = "arm-poky-linux-gnueabi"MACHINE              = "raspberrypi4"DISTRO               = "poky"DISTRO_VERSION       = "3.0.1"TUNE_FEATURES        = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"TARGET_FPU           = "hard"meta                 meta-poky            meta-yocto-bsp       = "zeus:da81542171f0cab0ea1a9bf45ac3c256e6f343f9"meta-oe              meta-python          meta-multimedia      = "zeus:aad5b3d070cd8c58828b0975cf861d8ebc90f460"meta-raspberrypi     = "master:3ae288aa38e3a1609c6e861918a874416d3f0f13"
This was part of local.conf
IMAGE_INSTALL_append = " xterm git \gperf tree tcl tk rsync tar pv \geany cmake man iproute2 squashfs-tools \minicom linux-firmware iputils yasm \texinfo python-imaging libmtp python-pip openjpeg \v4l-utils gsl opencv libftdi  \chkconfig openjpeg lame liba52 gtkmm \gnuplot ghostscript boost python3 python3-ujson \hexedit graphviz \"On the yocto host system I see several version of the libtclstub8.6.a
find . -name libtclstub8.6.a./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/tcl/8.6.9-r0/build/libtclstub8.6.a./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/tcl/8.6.9-r0/image/usr/lib/libtclstub8.6.a./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/tcl/8.6.9-r0/package/usr/lib/libtclstub8.6.a./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/tcl/8.6.9-r0/recipe-sysroot-native/usr/lib/libtclstub8.6.a./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/tcl/8.6.9-r0/sysroot-destdir/usr/lib/libtclstub8.6.a./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/tcl/8.6.9-r0/packages-split/tcl-staticdev/usr/lib/libtclstub8.6.a./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/gtkwave/3.3.98-r0/recipe-sysroot/usr/lib/libtclstub8.6.a./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/tk/8.6.9-r0/recipe-sysroot/usr/lib/libtclstub8.6.a./work/x86_64-linux/tcl-native/8.6.9-r0/build/libtclstub8.6.a./work/x86_64-linux/tcl-native/8.6.9-r0/image/work-cuteradio/build/tmp/work/x86_64-linux/tcl-native/8.6.9-r0/recipe-sysroot-native/usr/lib/libtclstub8.6.a./work/x86_64-linux/tcl-native/8.6.9-r0/sysroot-destdir/work-cuteradio/build/tmp/work/x86_64-linux/tcl-native/8.6.9-r0/recipe-sysroot-native/usr/lib/libtclstub8.6.a./sysroots-components/x86_64/tcl-native/usr/lib/libtclstub8.6.a./sysroots-components/cortexa7t2hf-neon-vfpv4/tcl/usr/lib/libtclstub8.6.a EXTRA_IMAGE_FEATURES ?= "debug-tweaks dev-pkgs tools-sdk doc-pkgs"

Please have a look at your mail formatting, I'm missing most new lines and it makes it hard to read your mail.

You would need staticdev-pkgs in your EXTRA_IMAGE_FEATURES to have the static libraries of your packages on your system.
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#ref-features-image

Or if you want only that specific static library, you can add tcl-staticdev to your IMAGE_INSTALL.

How did I know?

./work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/tcl/8.6.9-r0/packages-split/tcl-staticdev/usr/lib/libtclstub8.6.a

Yocto splits the files between packages and you can see where goes what by having a look at where the file is in ${WORKDIR}/packages-split. Here it's in tcl-staticdev.

BR,
Quentin