Read the statement by Michael Teeuw here.
`GLIBCXX_3.4.26' not found (required by node)
-
@sdetweil Ah but any pm2 command gives me the error `GLIBCXX_3.4.26’ not found I originally mentioned.
-
@matt216 reboot… pm2 will fail to launch then upgrade again …
then pm2 should work
-
@sdetweil Unfortunately not. After reboot 2 electron processes preventing the upgrade-script from completing and pm2 commands fail without GLIBCXX version.
Appreciate the support here.
-
@matt216 ok, run this command string all one copy/paste and enter
sudo apt-get purge nodejs -y &&\ sudo rm -r /etc/apt/sources.list.d/nodesource.list &&\ sudo rm -r /etc/apt/keyrings/nodesource.gpg
-
@sdetweil Progress, thank you. After purging and removing those files, I ran the install script. It completes, but during the npm install step I notice:
E: Unable to correct problems, you have held broken packages. node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by node)
The script completes (but doesn’t give a npm version number, interestingly). I rebooted the pi and the mirror doesn’t start and pm2 command is not found.
-
@matt216 can u show me the output of
lsb_release -a
uname -aand you ran MY install script, correct?
send me ~/install.log
my same userid at gmail -
@sdetweil Your upgrade-script.sh yes, with force.
pi@magicmirror:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: busterpi@magicmirror:~ $ uname -a
Linux magicmirror 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/LinuxNo install.log in my home directory, sorry…
-
@matt216 ok, can you copy/paste, and execute this
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/node20_install.sh)”
-
@sdetweil Initially no such file or directory response so I removed the two sudo rm -r lines and ran again. Looked to complete successfully.
Rebooted.
Same state - mirror doesn’t start, pm2 commands not found. -
@sdetweil I need to pick the boy up from nursery now. Will return tomorrow. Thanks loads for the support.
Matt