GLIBCXX_3.4.26 Not found
Asked Answered
C

2

7

I am trying to build open embedded project. But it shows some error like

/usr/lib/x86_64-linux-gnu/libstdc++.so.6: GLIBCXX_3.4.26 not found

How can i install GLIBCXX_3.4.26 in Ubuntu 16.04 ?

Carlyncarlynn answered 5/10, 2018 at 10:12 Comment(0)
E
10

I believe the object you are trying to use was compiled with a fairly recent version of GCC 9 with this bug fixed. This GCC version has not yet been released.

You need to recompile it with the Ubuntu system compiler, or ask the Ubuntu compiler people to backport this fix into the Ubuntu 16.04 system compiler (which seems fairly unlikely to happen at this point).

Endogenous answered 5/10, 2018 at 10:54 Comment(1)
askubuntu.com/questions/1140183/install-gcc-9-on-ubuntu-18-04 workedOrnithine
W
0

I solved the problem by 2 steps:

1 Install a Anaconda3

2 Copy the file libstdc++.so.6.0.26 to path '/usr/lib/x86_64-linux-gnu', then create a soft link.

I worte the detail commands here.

Wright answered 14/10, 2022 at 8:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.