relocation error: /usr/lib/..../libstdc++.so.6

  • Moin

    Beim Prüfen meiner Logs ist mir ein Job aufgefallen, der nicht wie geplant gelaufen ist. Die anschließende Fehlersuche hat einen "segmentation fault" beim Aufruf des betroffenen Programms ergeben. Und beim weiteren Suchen bin ich dann hier bei diesem Fehler angekommen.... der vielleicht die Ursache sein könnte:

    Code
    apt-get update
    apt-get: relocation error: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: symbol ���� ��
                                                                                           , version GLIBC_2.4 not defined in file libc.so.6 with link time reference


    Hat jemand eine Idee, wie ich damit umgehen kann... oder wie man das lösen kann?

    vg, Thomas

    Edited once, last by WinterUnit16246 (October 1, 2016 at 6:41 PM).

  • Lösung:

    1. Version feststellen

    Code
    dpkg -l libstdc* | grep ii
    ii  libstdc++-4.9-dev:armhf   4.9.2-10     armhf        GNU Standard C++ Library v3 (development files)
    ii  libstdc++6:armhf          4.9.2-10     armhf        GNU Standard C++ Library v3

    2. Download:
    http://archive.raspbian.org/raspbian/pool/….2-10_armhf.deb

    Im Archive auf gcc-Version (hier 4.9) achten, also richtiges Verzeichnis auswählen:
    http://archive.raspbian.org/raspbian/pool/main/g/
    http://archive.raspbian.org/raspbian/pool/main/g/gcc-4.9/

    3. Install:
    dpkg -i libstdc++6_4.9.2-10_armhf.deb

    Edited once, last by WinterUnit16246 (October 1, 2016 at 6:49 PM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!