On May 13, 2014 3:05 AM, "Stonewerk" <bbea...@gmail.com> wrote:
>
> (Environment, tools, and configuration details are given at the end of this post).
>
> I have created a simple C++ executable - the ubiquitous "Hello World" application - to run on my BeagleBone Black Rev. B. When executed properly, the program simply displays "Hello World!" on the terminal, and then exits.
>
> The development platform is a PC running Ubuntu 12.04.4 LTS, with the Eclipse Indigo IDE, and arm-linux-gnueabi g++ cross compiler tool chain. The code is edited, compiled, and linked on the PC, then downloaded to the BBB for execution.
>
> On my BBB running Angstrom, the program correctly executes, with it's behaviour as described above. The problem is that this executable behaves very differently when running under Debian; instead of displaying "Hello World", the following error message is displayed:
>
> ./HelloBeagleBone: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
>
> My first thought is that I am missing a package or library on the Debian installation. However, when I compile the application directly on the BBB, using the native g++ compiler, it executes correctly.
>
> As I write this, it (doubtfully) occurs to me that this *might* be a soft float vs. hard float issue - but the supported Debian BB image is not compiled for hard floats, is it?
Yes, we used the 'armhf' debian sub arch. So a gnueabihf compiler is required.
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.