Score:1

Visual Studio Code and Arduino IDE stopped working

in flag

I am running Ubuntu 21.10. When I first installed Visual Studio Code and Arduino IDE, they both loaded properly. Now, when I click on them or try to run them from the console, they won't open. Any suggestions?

For Arduino IDE, the error is:

JAVA_TOOL_OPTIONS: java.lang.UnsatisfiedLinkError: /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0: /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0: undefined symbol: sp_get_port_usb_vid_pid

For Visual Studio Code, the error is:

/ has 'other' write 40777
Score:3
ro flag

For Arduino IDE, it looks like you hit bug #1916278 (https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/1916278).

Running the following two command lines will fix the issue:

sudo apt install libserialport0 patchelf
sudo patchelf --add-needed /usr/lib/x86_64-linux-gnu/libserialport.so.0 /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0
Frittierapparat avatar
us flag
Confirmed working on Ubuntu 21.10
Andrew Mbugua avatar
cr flag
Confirmed working on Ubuntu 22.04
tniles avatar
cn flag
Confirmed working on Ubuntu 22.04.1 LTS
jouell avatar
de flag
+ confirmed on 22.04.1 LTS
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.