Libstdc++.6.so missing

Hi,

I have problem running C++ program on my Beagleboard that running
under the Angstrom demo image. I'm able to run C program but when I
try to run C++ program I obtaine this error

/a.out: /usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found
(required by ./a.out)

It seem it lt left a librairy. I use Angtrom demo image. I have
installed these package downloaded on the Angstrom web site.

libstdc++6_4.3.3-r1.1_armv7a.ipk
libstdc++-dev_4.3.3-r1.1_armv7a.ipk

I do not have the file libstlc++.6.so in my /usr/lib. Where can I get
this file?

I was probably not the right package.

My program is very simple. It is only a main with a cout. I use this
command to compile

arm-none-linux-gnueabi-g++.exe main.cpp

Hi,

I have problem running C++ program on my Beagleboard that running
under the Angstrom demo image. I'm able to run C program but when I
try to run C++ program I obtaine this error

/a.out: /usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found
(required by ./a.out)

That looks like an ABI error, which makes me suspect toolchain issues...

It seem it lt left a librairy. I use Angtrom demo image. I have
installed these package downloaded on the Angstrom web site.

libstdc++6_4.3.3-r1.1_armv7a.ipk
libstdc++-dev_4.3.3-r1.1_armv7a.ipk

I do not have the file libstlc++.6.so in my /usr/lib. Where can I get
this file?

I was probably not the right package.

My program is very simple. It is only a main with a cout. I use this
command to compile

arm-none-linux-gnueabi-g++.exe main.cpp

There you go, you're compiling your app with a different toolchain than angstrom was compiled with, that will never work properly.

regards,

Koen

Hi,

I have problem running C++ program on my Beagleboard that running
under the Angstrom demo image. I'm able to run C program but when I
try to run C++ program I obtaine this error

/a.out: /usr/lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found
(required by ./a.out)

That looks like an ABI error, which makes me suspect toolchain issues...

It seem it lt left a librairy. I use Angtrom demo image. I have
installed these package downloaded on the Angstrom web site.

libstdc++6_4.3.3-r1.1_armv7a.ipk
libstdc++-dev_4.3.3-r1.1_armv7a.ipk

I do not have the file libstlc++.6.so in my /usr/lib. Where can I get
this file?

I was probably not the right package.

My program is very simple. It is only a main with a cout. I use this
command to compile

arm-none-linux-gnueabi-g++.exe main.cpp

There you go, you're compiling your app with a different toolchain than angstrom was compiled with, that will never work properly.

You mean it will only work properly if you really know what you are doing :slight_smile:

But, what Koen said, mixing toolchains is tricky business. I once
wasted several days of a customers time because he insisted on using
an existing rootfs with a compiler built with crosstools. There was a
really subtle symbol mismatch that I solved with static linking. Not
the best solution, but it advanced the project.

If you insist on using other toolchains, try static linking.

Philip

Do you know what toolchain is used by Angstrom

Do you know what toolchain is used by Angstrom

If you build it locally, look in tmp/cross/armv7a/, you should be able
to find the libraries OE built in tmp/staging.

Philip

The armv7a one from http://www.angstrom-distribution.org/toolchains/ also works

Does JavaFX and Flashlite works on beagleboard ?
i didnt try javafx yet.
But i ll

Do you know what toolchain is used by Angstrom

If you build it locally, look in tmp/cross/armv7a/, you should be able
to find the libraries OE built in tmp/staging.

The armv7a one from http://www.angstrom-distribution.org/toolchains/ also works

Thanks, I was wondering if one was posted. Do you know how well is
works on different distros? If people try this, please give us
feedback.

Philip

It works well with the angstrom angstrom-2009.X-test-20091021-armv7a-
linux-gnueabi-toolchain, just copied the libs over and everything
worked smoothly.

here is the link to the toolchain.
http://www.angstrom-distribution.org/toolchains/angstrom-2009.X-test-20091214-armv5te-linux-gnueabi-toolchain-qte-4.6.0-i686.tar.bz2