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

dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

Scheduled Pinned Locked Moved Solved Troubleshooting
23 Posts 2 Posters 9.6k Views 2 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.
  • T Offline
    the_2winz @sdetweil
    last edited by Nov 8, 2023, 2:57 PM

    @sdetweil still get this
    rob@raspberry:~/MagicMirror $ npm run start

    magicmirror@2.25.0 start
    DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

    /home/rob/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory

    S 1 Reply Last reply Nov 8, 2023, 3:27 PM Reply Quote 0
    • S Offline
      sdetweil @the_2winz
      last edited by sdetweil Nov 8, 2023, 3:37 PM Nov 8, 2023, 3:27 PM

      @the_2winz

      sudo apt get install libnss

      edit:

      on my desktop I see

      libnss3.so => /usr/lib/x86_64-linux-gnu/libnss3.so (0x00007f2630707000)
      

      from

      ldd ~/MagicMirror/node_modules/electron/dist/electron | grep libnss
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Nov 8, 2023, 4:30 PM Reply Quote 0
      • T Offline
        the_2winz @sdetweil
        last edited by Nov 8, 2023, 4:30 PM

        @sdetweil rob@raspberry:/usr/lib/x86_64-linux-gnu $ find libnss3.so
        find: ‘libnss3.so’: No such file or directory

        S 1 Reply Last reply Nov 8, 2023, 4:53 PM Reply Quote 0
        • S Offline
          sdetweil @the_2winz
          last edited by Nov 8, 2023, 4:53 PM

          @the_2winz

          do

          cd /
          find . -type f -name "libnss*.*" 2>/dev/null
          

          search disk

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          T 2 Replies Last reply Nov 8, 2023, 11:09 PM Reply Quote 0
          • T Offline
            the_2winz @sdetweil
            last edited by Nov 8, 2023, 11:09 PM

            @sdetweil i cp to the right dir… but now when i run npm run start i get the following error > magicmirror@2.25.0 start

            DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

            /home/rob/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: wrong ELF class: ELFCLASS32

            1 Reply Last reply Reply Quote 0
            • T Offline
              the_2winz @sdetweil
              last edited by Nov 9, 2023, 12:04 AM

              @sdetweil i was able to add it to the electron/dist/ directory but when i run npm run start, now i get this error /home/rob/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libnss3.so: wrong ELF class: ELFCLASS32

              S 1 Reply Last reply Nov 9, 2023, 12:34 AM Reply Quote 0
              • S Offline
                sdetweil @the_2winz
                last edited by Nov 9, 2023, 12:34 AM

                @the_2winz yes this

                uname -a
                file /bin/bash
                

                I think you have a hybrid system… 64 bit kernel, 32 bit runtime

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Nov 9, 2023, 12:47 AM Reply Quote 0
                • T Offline
                  the_2winz @sdetweil
                  last edited by Nov 9, 2023, 12:47 AM

                  @sdetweil looks like it.
                  rob@raspberry:~/MagicMirror $ uname -a
                  Linux raspberry 5.10.0-15-amd64 #1 SMP Debian 5.10.120-1 (2022-06-09) x86_64 GNU/Linux
                  rob@raspberry:~/MagicMirror $ file /bin/bash
                  /bin/bash: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=56307740a4c93a51d04f9511eae7897e52a4ddb5, for GNU/Linux 3.2.0, stripped

                  S 1 Reply Last reply Nov 9, 2023, 1:40 AM Reply Quote 0
                  • S Offline
                    sdetweil @the_2winz
                    last edited by Nov 9, 2023, 1:40 AM

                    @the_2winz hm can you do the
                    file command on the libnss3.so

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    T 1 Reply Last reply Nov 9, 2023, 2:35 AM Reply Quote 0
                    • T Offline
                      the_2winz @sdetweil
                      last edited by Nov 9, 2023, 2:35 AM

                      @sdetweil like libnss3.so bin/bash/ ? i’m not sure i follow

                      S 1 Reply Last reply Nov 9, 2023, 4:13 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 3 / 3
                      3 / 3
                      • First post
                        13/23
                        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