網路城邦
上一篇 回創作列表 下一篇   字體:
[Solved] /usr/lib/libstdc++.so.6: no version information available
2021/04/09 15:04:43瀏覽46|回應0|推薦0

run helloworld.out and get warning message:

/usr/lib/libstdc++.so.6: no version information available

Maybe, there is different between PC/BUILD/MAKE environment and ARM/RUN environment.

work around :

in PC/BUILD/MAKE environment

find and copy libstdc++.so.6 to paht of helloworld.out

Add command below to Makefile

The perpose is that force to link specific so file while is on the same path.

-Wl,-rpath=.

make again.

Run the helloworld.out on ARM device.

 helloworld.out uses the  libstdc++.so.6 in the same path, and no warning message.

( 不分類不分類 )
回應 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=greatcat&aid=160418633