I have tried to install the Arduino IDE 2.3.2 (AppImage 64 bits) on a AMD Turion 64 X2 CPU on Debian v12.5.0.
There is an error "Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei" - can't execute the binary: error in format of the file.
Is it possible that the binary is only for Intel and not for AMD-CPUs?
-Michael-
Highly unlikely. I tried to find a possible issue with the AppImage on Issues · arduino/arduino-ide · GitHub but did not see one straight away; you can double check if there is a known issue.
Have you tried the zip from https://www.arduino.cc/en/software?
Hi @wollm. Please try this experiment and then report back here with the results:
This procedure is not intended to solve the problem. The purpose is to gather more information.
- Open a command line terminal.
- Type the following command:
getconf LONG_BIT - Press the Enter key.
Now add a forum reply here to tell us whether the command printed 64 or 32.
Hi,
thank you for your help
...
getconf LONG_BIT replys "32".
I don't understand this - the AMD Turion 64 X2 is a 64-Bit-CPU.
This is the problem - but I don't know how to fix it.
I know it's an old model but for programming Arduinos it would be okay.
Any ideas?
-Michael-
OK, this is the problem. Arduino IDE 2.x is built for x86-64 architecture.
Yes, and it is x86 as well, so the hardware should be compatible with Arduino IDE 2.x. The problem is that it seems you have installed the 32-bit version of Debian. The getconf LONG_BIT command tells us the bit width of the operating system, not of the CPU. Even when the hardware can support a wider bit width, the effective bit width is determined by the operating system.
So I think you could solve the problem by installing the 64-bit version of Debian on your computer.
The alternative is to use Arduino IDE 1.8.19, which is available in a 32-bit version (though it is possible you might find that the independent binaries of the tool dependencies of some boards platforms might still be 64-bit). If you choose this solution, you can find the download link for Arduino IDE 1.8.19 here:
Yes! Thank you. It was my mistake.
I've installed an new (64-Bit) Debianimage and it runs.
New knowledge for me: getconf LONG_BIT.
Now I can programming Arduinos ... ![]()
-Michael-
You are welcome. I'm glad it is working now.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.