# Problem with libstdc++.so.6 after update

**URL:** <https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971>\
**Category:** General\
**Created:** [20 July 2023 14:34 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971 "2023-07-20T14:34:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [20 July 2023 14:34 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/1 "2023-07-20T14:34:11Z")

</div>

After update with apt update and apt full-upgrade i cant start Node-red anymore, because of the problem in the picture:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/a/daaa1ba7ddbc0bf73e3256747632f25732ac7e0f.png)

i would be very thankful for your help

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 July 2023 14:53 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/2 "2023-07-20T14:53:55Z")

</div>

What OS and version, and hardware are you running on?

What do these commands show?

```auto
node -v
which node
apt policy node

```

Edit: please copy/paste text, not screenshot.

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [20 July 2023 15:03 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/3 "2023-07-20T15:03:22Z")

</div>

Hi,  
I am using a Raspberry Pi 4 8GB with Respian

```auto
> pi@raspberrypi:~ $ node -v
> v14.20.0
> pi@raspberrypi:~ $ which node
> /home/pi/.nvm/versions/node/v14.20.0/bin/node
> pi@raspberrypi:~ $ apt policy node
> node:
> Installiert: (keine)
> Installationskandidat: 0.3.2-7.4
> Versionstabelle:
> 0.3.2-7.4 500
> 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

```

```auto
pi@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

```

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 July 2023 15:08 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/4 "2023-07-20T15:08:10Z")

</div>

> [@Wurmi](#):
>
> `/home/pi/.nvm/versions/node/v14.20.0/bin/node`

That is a bad idea.

I suggest you fully remove nvm and delete the .nvm folder. Then install the latest node-red and a good version of nodejs using the [recommended script for a pi.](https://nodered.org/docs/getting-started/raspberrypi). I fully expect that to fix the problem.

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [20 July 2023 15:11 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/5 "2023-07-20T15:11:15Z")

</div>

If i uninstall nvm could this cause problems with Grafana and influxdb because they are currently working without problems?

is that enough?  
rm -rf ~/.nvm  
rm -rf ~/.npm  
rm -rf ~/.bower

i also found the following command:

```auto
rm -rf $NVM_DIR ~/.npm ~/.bower

```

```auto
pi@raspberrypi:~ $ nodejs -v
v18.17.0

```

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 July 2023 15:27 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/6 "2023-07-20T15:27:29Z")

</div>

> [@Wurmi](#):
>
> If i uninstall nvm could this cause problems with Grafana and influxdb because they are currently working without problems?

I am not aware of either of those needing nvm. How did you install nvm initially? You should uninstall it in the same way (and delete the folders).

> [@Wurmi](#):
>
> `pi@raspberrypi:~ $ nodejs -v`

I don't know what that command does. It is not installed on any of my systems. The command to show the version of nodejs is  
`node -v`

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [20 July 2023 15:31 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/7 "2023-07-20T15:31:02Z")

</div>

> [@Wurmi](#):
>
> rm -rf ~/.nvm

I used rm -rf ~/.nvm and the instructions from your link and it worked 🙂  
Big Thanks!

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 July 2023 15:36 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/8 "2023-07-20T15:36:39Z")

</div>

I don't think that has uninstalled nvm, you have just removed the local folders. Whether you will see problems in the future I don't know. Probably not, provided you don't ever run the nvm command.

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [23 July 2023 17:22 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/9 "2023-07-23T17:22:14Z")

</div>

Thanks for the notice and your quick support 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [6 August 2023 17:23 UTC](https://discourse.nodered.org/t/problem-with-libstdc-so-6-after-update/79971/10 "2023-08-06T17:23:12Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
