RPI 4 device requires latest version of node.js which is not supported on platform

I encountered error when connecting Rasberry PI 4 tp Edge Impluse.

Installation Dependencies version of node.js is blocking my ability to add new device.

node.js fails to install because library libstdc++.so.6 is out of date.

node-v

node: /lib/arm-linux-gnueabihf/libstdc++.so.6: version `GLIBCXX_3.4.26’ not found (required by node)

RPI 4 running NAVIO2 SD image with Real Time extensions.
strings /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBC_2.4
GLIBC_2.18
GLIBC_2.16
GLIBC_2.17
GLIBCXX_DEBUG_MESSAGE_LENGTH

I’m trying to add a RPI 4 which is running a vendor provided image. The NAVIO2 SD card image does not have the perquisite version of libstdc++so.6. Is their a reason you need a specific version of node.js. NAVIO2 requires real time extension to operate onboard GPS UBLOK .

Can you support a older version of node.js? NAVIO only support GLIBXX.3.4.25 and node.js requires GLIBXX.3.4.26.

Can you et me out of this Ubunta update nightmare?

Hi @davidwalker

What version of node do you currently have?

  1. Check the node version:
  • Run the following in terminal:
node -v
  • This command should return the version number of Node.js that you installed.

You can use NVM to manage and swap between node versions (install this):

  1. Switch Between Node.js Versions:
  • If you need to switch to another version of Node.js in the future, you can use NVM. For example, to switch to version 10.x, run:
nvm use 12
  • Replace 12 with the version number you wish to switch to
    (we can support 12 at the lowest I believe).
  1. Set Default Node.js Version:
  • You can set a default Node.js version with NVM so that it’s automatically used. Run:
nvm alias default 14
  • Replace 14 with your desired default Node.js version.

Best

Eoin