I use Angstroms console-image with a few additinal programs (I made my
on bb-file and put it in /oe/openembedded/packages/images)
Now I try to run a program and get:
./a.out: error while loading shared libraries: libstdc++.so.6: cannot
open shared object file
: No such file or directory
Which package do I have to add to get libstdc++ into my console-image too?
ups, send to early.
On a working system I checked it:
# opkg search /usr/lib/libstdc\+\+.so.6.0.10
libstdc++6 - 4.3.1-r15.1 - /usr/lib/libstdc++.so.6.0.10
So I added libstdc++6 to my installs:
$ grep ++ myconsole-image.bb
IMAGE_INSTALL += "libstdc++6"
$ bitbake myconsole-image
RDEPENDS/RRECOMMENDS or otherwise requires the runtime entity
'libstdc++6' but it wasn't
found in any PACKAGE or RPROVIDES variables
NOTE: Runtime target 'libstdc++6' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libstdc++6']
ERROR: Required build target 'myconsole-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['myconsole-image', 'libstdc++6']
The general idea is that you include your app in the rootfs which will drag in the library automagically using shlib dependencies. Anyway, could you try including the package name before debian renaming, e.g. "IMAGE_INSTALL += libstdc++" ?