• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

`GLIBCXX_3.4.26' not found (required by node)

Scheduled Pinned Locked Moved Solved Troubleshooting
24 Posts 4 Posters 23.5k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    matt216
    last edited by Oct 3, 2023, 1:35 PM

    Hi all.

    Just updated my MM and saw that I was running on an ancient version of node/npm. Upgraded those and I’m currently seeing the following error:

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

    Running on raspberry pi, raspbian v10 buster.
    Latest version of MM.
    Node v 18.18.0
    npm v9.8.1

    Zero results when I search for GLIBCXX on the forum :worried_face: Any tips?

    Thanks

    S 1 Reply Last reply Oct 3, 2023, 1:36 PM Reply Quote 0
    • N Offline
      nnvv3344
      last edited by Oct 17, 2023, 8:57 PM

      I was having this problem and could not figure it out. Here is the fix that worked right away for me…

      I uninstalled the version of Node that I had (which was 20) and I went back to install node js 18. It works after doing this

      W 1 Reply Last reply Jun 18, 2024, 12:07 AM Reply Quote 1
      • S Online
        sdetweil @matt216
        last edited by Oct 3, 2023, 1:36 PM

        @matt216 please use my upgrade script, with force instead of apply

        https://github.com/sdetweil/MagicMirror_scripts

        I added support for the latest version and the new node

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 2 Replies Last reply Oct 3, 2023, 1:50 PM Reply Quote 0
        • M Offline
          matt216 @sdetweil
          last edited by Oct 3, 2023, 1:50 PM

          @sdetweil said in `GLIBCXX_3.4.26' not found (required by node):

          with force instead of apply

          Thanks. What do you mean with force, instead of apply?

          1 Reply Last reply Reply Quote 0
          • M Offline
            matt216 @sdetweil
            last edited by Oct 3, 2023, 1:53 PM

            @sdetweil Thanks. What do you mean with force instead of apply?

            S 1 Reply Last reply Oct 3, 2023, 1:57 PM Reply Quote 0
            • S Online
              sdetweil @matt216
              last edited by sdetweil Oct 3, 2023, 2:10 PM Oct 3, 2023, 1:57 PM

              @matt216

              the upgrade command is

              bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
              

              change the word apply to force

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Oct 3, 2023, 2:23 PM Reply Quote 0
              • M Offline
                matt216 @sdetweil
                last edited by Oct 3, 2023, 2:23 PM

                @sdetweil Thank you. It currently can’t upgrade as I have 2 electron node processes running. killall node and the processes start again with a different PID. Can’t seem to stop electron!

                S 1 Reply Last reply Oct 3, 2023, 2:25 PM Reply Quote 0
                • S Online
                  sdetweil @matt216
                  last edited by Oct 3, 2023, 2:25 PM

                  @matt216 pm2 stop all

                  pm2’s JOB is to KEEP the monitored apps running… you kill it, and then pm2 restarts…

                  pm2 status

                  will show you all the things being managed

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Oct 3, 2023, 2:27 PM Reply Quote 0
                  • M Offline
                    matt216 @sdetweil
                    last edited by Oct 3, 2023, 2:27 PM

                    @sdetweil Ah but any pm2 command gives me the error `GLIBCXX_3.4.26’ not found I originally mentioned.

                    S 1 Reply Last reply Oct 3, 2023, 2:28 PM Reply Quote 0
                    • S Online
                      sdetweil @matt216
                      last edited by Oct 3, 2023, 2:28 PM

                      @matt216 reboot… pm2 will fail to launch then upgrade again …

                      then pm2 should work

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Oct 3, 2023, 2:33 PM Reply Quote 0
                      • M Offline
                        matt216 @sdetweil
                        last edited by Oct 3, 2023, 2:33 PM

                        @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.

                        S 1 Reply Last reply Oct 3, 2023, 2:40 PM Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 1 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy