# How to install libstdc++.so.6 for DOSBox in Lutris?

**URL:** https://discourse.nixos.org/t/how-to-install-libstdc-so-6-for-dosbox-in-lutris/25887
**Category:** Help
**Created:** [February 28, 2023, 9:36am UTC](https://discourse.nixos.org/t/how-to-install-libstdc-so-6-for-dosbox-in-lutris/25887 "2023-02-28T09:36:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![l0b0](https://discourse.nixos.org/user_avatar/discourse.nixos.org/l0b0/32/39028_2.png) [@l0b0](https://discourse.nixos.org/u/l0b0)
#### Post date: [February 28, 2023, 9:36am UTC](https://discourse.nixos.org/t/how-to-install-libstdc-so-6-for-dosbox-in-lutris/25887/1 "2023-02-28T09:36:31Z")

</div>

When trying to run a game in Lutris I’m getting this message:

> /home/username/.local/share/lutris/runners/dosbox/bin/dosbox: /lib/libstdc++.so.6: version `GLIBCXX\_3.4.30’ not found (required by /home/username/.local/share/lutris/runners/dosbox/bin/dosbox)

I’ve tried to fix this by adding `pkgs.stdenv.cc.cc.lib` to Lutris’s `extraLibraries`, but that doesn’t seem to help. Removing `~/.local/share/lutris/` and reinstalling also doesn’t help. What gives?
