error while loading shared libraries: libstdc++.so

2019-08-02 10:59发布

I Compiled sample C++ Code using ARM CrossCompiler and generated A.out file in Linux PC. And transfered the A.out file file to ZedBoard. When I try to run the A.out file in Zedboard ,It is showing the following error,

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

Can anyone tell me the solution for the error?

1条回答
迷人小祖宗
2楼-- · 2019-08-02 11:27

Install g++ to solve this issue.

Open a terminal and install the g++ package:

sudo apt-get install g++ 
查看更多
登录 后发表回答