9

I downloaded DOOM BFA Version 1.2.8 but after running I got the message:

./DoomBFA: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29 'not found (required by ./DoomBFA)

Is there any way to update these libraries in ubuntu 20.04?

Karol78
  • 51
  • Have you installed all the dependencies? https://github.com/MadDeCoDeR/Classic-RBDOOM-3-BFG – ChanganAuto Feb 16 '22 at 17:38
  • I installed dependencies, and after a failed compilation attempt, I downloaded the compiled version. – Karol78 Feb 16 '22 at 17:45
  • https://askubuntu.com/questions/215267/will-apt-get-dist-upgrade-upgrade-my-system-to-a-newer-version – Karol78 Feb 17 '22 at 15:52
  • GLIBCXX_3.4.29 is an object from libstdc++.so.6.0.29 . Supplied with g++-11. Example PPA https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test – Knud Larsen Feb 17 '22 at 17:56
  • Thank you Knud Larsen for the link, this solves the problem with libraries. greetings – Karol78 Feb 20 '22 at 17:46

2 Answers2

11

Translated into practical steps:

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt install -y g++-11

Then check if the version appears in the list:

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

Resource: https://lindevs.com/install-g-on-ubuntu

Aleks
  • 362
  • 1
  • 5
  • 15
1

Library for ubuntu 20.04 that updates to libstdc++.so.6.0.29

the wanted version.

Karol78
  • 51