Libstdc++.So.6: Version 'Glibcxx_3.4.26' Not Found on Linux

libstdc++.so.6: version `GLIBCXX_3.4.20' not found

Considering that /usr/lib/x86_64-linux-gnu/libproxy.so.1 is supplied by Ubuntu, let's assume that it is compatible with the system libstdc++ library. This means that the application is not actually using that system library, but some other version. I'd suggest to check if the application sets LD_LIBRARY_PATH and if there is another copy of libstdc++.so.6 on that path. In this case, try moving it away or deleting it—the application should then switch to the system library, which is newer and should be backwards-compatible.

GLIBCXX_3.4.26 not found running cross-complied program on BeagleBone

Not really an answer, but on my Ubuntu 20.04 system, I have package libstdc++6 installed, containing libstdc++.so.6.0.28.

Looking for symbols

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28 | grep GLIBCXX

gives

...

GLIBCXX_3.4.19

GLIBCXX_3.4.20

GLIBCXX_3.4.21

GLIBCXX_3.4.22

GLIBCXX_3.4.23

GLIBCXX_3.4.24

GLIBCXX_3.4.25

GLIBCXX_3.4.26

GLIBCXX_3.4.27

GLIBCXX_3.4.28

...

So, it seems, version 6.0.28 corresponds to symbol 3.4.28.

In your case, you have libstdc++.so.6.0.25 installed, which is just one less than GLIBCXX_3.4.26.
So, you must either upgrade the Beagle board, or downgrade the dev environment.


Current (focal, 20.04) libstdc++6 version is 6.0.28. Version 6.0.25 is contained in bionic (18.04), which also contains gcc-8.

So, maybe installing package gcc-8/g++-8 and its dependencies (e.g. libstdc++-8-dev) solves this.

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found required by TensorFlow

So, i just tested Stretch and it works fine. The issue is related to the OS in this case Debian 8 Jessie , it cannot handle a higher version of glibcxxx than the 3.4.20.

PS : Stretch is Debian 9's distribution name



Related Topics



Leave a reply



Submit