[SOLVED] System View - Could not open J-Link shared library

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED] System View - Could not open J-Link shared library

    Hello,

    similar to the thread: System View - J-Link Library not found

    I cannot load the shared library under Linux!
    On the command line I get the following output when the program is called:"Could not open J-Link shared library.Could not open J-Link shared library."

    I checked the lib dependencies:

    linux-vdso.so.1 (0x00007ffd13585000)
    libQtGui.so.4 => /xyz/SystemView_Linux_V320_x86_64/./libQtGui.so.4 (0x00007f772ea41000)
    libQtCore.so.4 => /xyz/SystemView_Linux_V320_x86_64/./libQtCore.so.4 (0x00007f772e551000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f772e520000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f772e51a000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f772e4f7000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f772e316000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f772e1c5000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f772e1aa000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f772dfb8000)
    libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f772def9000)
    libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f772deee000)
    libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f772ded0000)
    libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f772dcc4000)
    libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f772dcb7000)
    libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f772dcaf000)
    libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f772dca2000)
    libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f772dc5b000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f772dc46000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f772db07000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f772f6f7000)
    libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f772dacf000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f772dab3000)
    libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f772daaa000)
    libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f772da90000)
    libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f772da60000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f772da36000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f772da30000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f772da28000)

    Does anyone have any idea what the problem could be?


    Small note on the side:
    In version v310 the software terminates immediately, but not in v320! Unfortunately, the warning is only issued on the command line, so that you cannot directly see why SystemView cannot find the hardware.

    greetings
    Florian
  • Hello,

    Thank you for your inquiry.
    Did you follow the Wiki article suggestions for Linux that Johannes posted?
    Is the J-Link software installed on your Linux machine?

    Should the Wiki suggestion not work try to copy the J-Link library from the J-Link folder to the SystemView older.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.
  • Hello,
    yes I read this article.
    Interestingly, the LIB libudev.so does not appear in the dependency list that I have attached!

    I have copied libjaylink.so, libjaylink.so.0, libjaylink.so.0.0.0 into the directory.Interestingly enough, I can program a target with the J-Link from the STM32CubeIDE Studio.

    greetings
    Florian
  • Hello Florian,

    Great to hear that you are up and running again.
    We will consider this thread a solved now.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.