rand256 / valetudo

Valetudo RE - experimental vacuum software, cloud free
Apache License 2.0
671 stars 74 forks source link

version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 on RE4 #9

Closed Yax closed 5 years ago

Yax commented 5 years ago

Valetudo-RE crashes on start.

root@rockrobo:~# /usr/local/bin/valetudo 
/usr/local/bin/valetudo: relocation error: /usr/local/bin/valetudo: symbol _ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

The same error happens whether I compile valetudo manually, or use released one.

rand256 commented 5 years ago

The reason for this is described on the deployment page.

In short, newer pkg requires newer libstdc++.so library than is available on the original firmware, thus the error you see. However I just found a way to rebuilt Valetudo so now it should run without any external libstdc++.so at all. Uploaded new binary into releases page and updated deployment guide.

Yax commented 5 years ago

Ops. I didn't read the file. Just downloaded binary and scped into vacuum.

Yax commented 5 years ago

New release file works.