error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Hai,
I am using beagleboard-diagnostic-kernel-mainline-2[1].6.28-oe-
r8.tar.gz kernel compiled using the toolchain arm-2009q1-203-arm-none-
linux-gnueabi.I tried the same with the latest toolchain
(arm-2010.09-50-arm-none-linux-gnueabi) also.
I am getting the following error while running the application in the
Beagle Board(Rev C4).

error while loading shared libraries: libstdc++.so.6: cannot open
shared object file: No such file or directory

We are also getting the following error when we try to copy the
library libstdc++.so.6 in /lib folder.

cp: write error: No space left on device
root@beagleboard:/lib#

We are new to ARM Beagle board. Can anyone please clarify in this
regard???

It sounds like your file system is full. It may have filled up while you were installing packages and failed to install the libraries correctly. What are the results of the “df” command?

Wim.

hi
try compiling your application as below
arm-none-linux-gnueabi your-app.c -o your-app --static