IDE 2.0.2 - appimage won't start

Hello everybody,

I have downloaded the Arduino IDE 2.0.2 as appimage for my Linux PC.
After setting the file "arduino-ide_2.0.2_Linux_64bit.AppImage" as executable, I tried to double-clik on it to start the IDE, but nothing happens...

Same result from the CLI: no error messages, no printouts. The prompt appears back, but the IDE doesn't start...

Any clue?

Hi @gimpo. What happens if you try the ZIP package of Arduino IDE?

You can download it from the "Linux ZIP file 64 bits (X86-64)" link on this page:

Hi,

I tried the zip file too. I have unzipped it in a local folder and tried to start by using the command

./arduino-ide

But it doesen't work. I get an error after a long printed output (see attached image).

Excellent. That is very useful information.

Are you using a very old version of your Linux distro (e.g., Ubuntu 16.04)?

This error occurs when you have too old a version of the IDE's libstdc++ dependency installed on your computer. If you are able to update your distro, that would probably fix the problem. If not, I see some instructions for updating libstdc++ here:

Yes, I'm using an "old" Ubuntu 16.04.
Now I will try to update the library...

That seems not the problem. An updated library is already installed...

$ sudo apt-get install libstdc++6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libstdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.12).
The following packages were automatically installed and are no longer required:
  jq libcoin80v5 libonig2 libpdf-api2-perl libsoqt4-20 libwireshark11 libwireshark12 libwireshark13
  libwiretap10 libwiretap8 libwiretap9 libwscodecs2 libwsutil10 libwsutil11 libwsutil9 python-qt4-gl sane
  wireshark-gtk
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.

:open_mouth:

What do you get if you run this command?

strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX

Here we are:

$ strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_DEBUG_MESSAGE_LENGTH

version 3.4.22 is not there... :thinking:

How I can install GLIBXX 3.4.22 if the apt tool refuses doing that?
Any suggestion?
No way to make the IDE 2.0 working with the 3.4.21 version?

Did you try the second option offered in this answer?:

https://askubuntu.com/a/582910

I think if you build Arduino IDE from source then it would. The dependency is based on the machine used for the build. The builds distributed by Arduino are made on a machine running Ubuntu 18.04. This older version is used even though newer ones are available specifically to provide support for older distros (but not so old as yours):

Unfortunately building the IDE from source is a somewhat advanced endeavor.

Uh!
I forgot to check the solution published on askubuntu.com... shame on me!
I will try it tomorrow... now I need a bed and sleeping for 256 =2^8 hours (as minimum).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.