Ive been using Platformio on linux for some time, recently I switched to another linux setup and installed everything clean.
I am using MSP430 boards (G2553) and compiling the code works completely as planned. But from the IDE (I have tried both VScode and Atom) I cannot upload the code on the board. It always stops with :
_"/home/username/.platformio/packages/tool-mspdebug/mspdebug: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory"
I cannot debug where it goes wrong but when I use the terminal, go to the directory of my project (with platformio.ini) and type
“pio run -e lpmsp430g2553 -t upload”
it runs as planned. Compiles and uploads directly to my launchpad board.
Anybody with a clue as how this can be corrected ?