Ankündigung

Einklappen
Keine Ankündigung bisher.

Glibc

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Glibc

    Nach einer kleinen Urlaubspause scheitere ich an scheinbar verlorenen GLIBC_xxx-Dateien.

    Wo bekomme ich diese her? In venvs sind python310 und 311 installiert.

    2024-07-22 14:36:12 NOTICE lib.shpypi Installing base requirements for the current user, please wait...
    2024-07-22 14:36:12 WARNING lib.shpypi PIP command read from smarthome.yaml: '/usr/local/smarthome/venvs/py_310/bin/python3 -m pip'
    2024-07-22 14:36:12 NOTICE lib.shpypi Using auto-determined PIP: '/usr/local/smarthome/venvs/py_310/bin/python3 -m pip'
    2024-07-22 14:36:12 ERROR lib.shpypi /usr/local/smarthome/venvs/py_310/bin/python3: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /usr/local/smarthome/venvs/py_310/bin/python3)
    /usr/local/smarthome/venvs/py_310/bin/python3: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/smarthome/venvs/py_310/bin/python3)
    /usr/local/smarthome/venvs/py_310/bin/python3: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/smarthome/venvs/py_310/bin/python3)
    /usr/local/smarthome/venvs/py_310/bin/python3: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/smarthome/venvs/py_310/bin/python3)

    2024-07-22 14:36:12 CRITICAL lib.smarthome Python package requirements for modules are not met and unable to install base requirements
    2024-07-22 14:36:12 CRITICAL lib.smarthome Do you have multiple Python3 Versions installed? Maybe PIP3 looks into a wrong Python environment. Try to configure pip_command in etc/smarthome.yaml
    2024-07-22 14:36:12 CRITICAL lib.smarthome Aborting
    Ausschnitt der etc/smarthome.yaml
    # If the standard commend PIP3 does not work when multiple Python3 versions are installed
    # enter the name or full path of the right pip command below
    #pip_command: "python3 -m pip"
    pip_command: "/usr/local/smarthome/venvs/py_310/bin/python3.10 -m pip"
    Meine Suche nach den `GLIBCxxx' scheitert! Ich bitte um Hilfe.

    Wolfgang

    #2
    Bei glibc handelt es sich nicht um ein Python Package, sondern um ein Betriebssystem Package, welches Python selbst benötigt (wie die Exceptions schon sagen).

    Mit welcher Hardware und welchem Betriebssystem bist Du denn unterwegs?
    Viele Grüße
    Martin

    There is no cloud. It's only someone else's computer.

    Kommentar


      #3
      Ich bin auf dem Raspberry 4 8GB mit dem IMG unterwegs.

      Danke fie Deine Mühe!

      Kommentar


        #4
        Dass Du kit einer ARM CPU unterwegs bist, hatte ich schon am Namen der fehlenden Datei gesehen.

        Wieso bei Dir die Lib zum Gnu C Compiler auf Deinem System nicht installiert ist bzw. nicht gefunden wird kann ich nicht sagen. Eventuell hat Onkelandy da eine Idee.
        Viele Grüße
        Martin

        There is no cloud. It's only someone else's computer.

        Kommentar


          #5
          Bei mir läuft auf bookworm alles wie es soll....
          ldd --version bringt ldd (Debian GLIBC 2.36-9+rpt2+deb12u7) 2.36​
          Vielleicht mal apt update und apt upgrade..
          apt install libc6-dev​

          Kommentar


            #6
            Defekter Massenspeicher?

            Kommentar


              #7
              Danke an alle Helfer,

              der Massenspeicher ist laut Testprogramm OK.

              Der Tipp von Onkelandy
              "Vielleicht mal apt update und apt upgrade..
              apt install libc6-dev​"
              brachte schon einmal einen Teilerfolg.

              Code:
               sudo apt install libc6-dev
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut… Fertig
              Statusinformationen werden eingelesen… Fertig
              libc6-dev ist schon die neueste Version (2.31-13+rpt2+rpi1+deb11u10).
              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
              Die libc6-dev ist jetzt vorhangen! Leider habe ich über die venvs keinen Erfolg obwohl in /etc/smarthome.yaml
              nachfolgende Zeile eingetragen ist.


              # If the standard commend PIP3 does not work when multiple Python3 versions are installed
              # enter the name or full path of the right pip command below
              #pip_command: "python3 -m pip"
              pip_command: "/usr/local/smarthome/venvs/py_310/bin/python3.10 -m pip"

              Aber in den Pythonversionen in "venvs" fehlen diese werterhin


              Code:
              drwxr-xr-x  14 root root 4,0K 15. Apr 2023  var/
              (py_shng)  [smarthome@SmartHomeNG-4-8-IP40 /]$ cd /usr/local/smarthome/venvs
              (py_shng)  [smarthome@SmartHomeNG-4-8-IP40 ../local/smarthome/venvs]$ ls
              insgesamt 12K
              drwxrwxrwx 5 smarthome smarthome 4,0K 22. Jul 16:09 py_310/
              drwxrwxrwx 5 smarthome smarthome 4,0K 29. Jun 14:44 py_311/
              drwxrwxrwx 6 smarthome smarthome 4,0K  3. Jul 13:41 py_shng/
              (py_shng)  [smarthome@SmartHomeNG-4-8-IP40 ../local/smarthome/venvs]$ cd py_310
              (py_shng)  [smarthome@SmartHomeNG-4-8-IP40 ../smarthome/venvs/py_310]$ ls
              insgesamt 16K
              drwxrwxrwx 2 smarthome smarthome 4,0K 29. Jun 14:34 bin/
              drwxrwxrwx 2 smarthome smarthome 4,0K 29. Jun 14:35 include/
              drwxrwxrwx 3 smarthome smarthome 4,0K 29. Jun 14:35 lib/
              -rwxrwxrwx 1 smarthome smarthome   77  2. Feb 11:07 pyvenv.cfg*
              (py_shng)  [smarthome@SmartHomeNG-4-8-IP40 ../smarthome/venvs/py_310]$ /usr/local/smarthome/venvs/py_310/bin/python3.10 -m pip  /usr/local/smarthome/venvs/py_310/bin/python3.10: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /usr/local/smarthome/venvs/py_310/bin/python3.10)
              /usr/local/smarthome/venvs/py_310/bin/python3.10: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/smarthome/venvs/py_310/bin/python3.10)
              /usr/local/smarthome/venvs/py_310/bin/python3.10: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/smarthome/venvs/py_310/bin/python3.10)
              /usr/local/smarthome/venvs/py_310/bin/python3.10: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/smarthome/venvs/py_310/bin/python3.10)
              (py_shng)  [smarthome@SmartHomeNG-4-8-IP40 ../smarthome/venvs/py_310]$ ls​
              Wie bringe ich das Problem vom Eis ohne alles zu zerschießen?​


              Danke für jeden Hinweis!

              ​​​​​​​Liebe Grüße
              ​​​​​​​Wolfgang

              Kommentar


                #8
                Ich würde nochmals das aktuellste Image ziehen..

                Kommentar

                Lädt...
                X