Contents ...
udn網路城邦
[Solved] /usr/lib/libstdc++.so.6: no version information available
2021/04/09 15:04
瀏覽65
迴響0
推薦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.

全站分類:不分類 不分類
自訂分類:linux
上一則: ntpd ntpdate local time
下一則: LED subsystem

限會員,要發表迴響,請先登入