This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FR2355: MSP430Flasher: error while loading shared libraries: libmsp430.so (Fedora Linux fc36)

Part Number: MSP430FR2355

I am trying to flash my MSP430FR2355 with my blinky.c example code after successful compilation However, when I execute MSP430 Flasher, I am getting the error message:

MSP430Flasher: error while loading shared libraries: libmsp430.so: cannot open shared object file: No such file or directory

libmsp430.so however, is present in the MSPFlasher_1.3.20 directory. The directory also was added to the environmental PATH variable (export PATH="/opt/ti/MSPFlasher_1.3.20:${PATH}")

I also tried to copy libmsp430.so to user/lib. no success.

  • I recently had this problem but the environment variable did the trick. Except it didn't use the name PATH. The example (something.sh) included:

    export LD_LIBRARY_PATH=~/MSP430Flasher_1.3.3/
    

    Which is what I did. But then I checked the existing value for that symbol. Which pointed to /usr/local/lib. Then I created a symbolic link there pointing to the copy of that file in the GCC directory. Since I update that far more often than I do MSP430Flasher.

  • Thanks a lot. I tried that first too without success:

    ldd /opt/ti/MSPFlasher_1.3.20/./MSP430Flasher
    linux-vdso.so.1 (0x00007fff81c8a000)
    libmsp430.so => not found
    libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f7ea1324000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f7ea1304000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f7ea1102000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f7ea1024000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f7ea1574000)

    Then I found the stupid mistake: I forgot to do ldconfig.

    Now it all works :)

**Attention** This is a public forum