Installing proffieOS libcurses5 error

I followed the pod directions to install Arduino IDE on linux. Including the part about 32 bit compatibility.

I get a missing error:

nathan@nathan-B550:~$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libncurses5:i386

A web search suggested I use libncurses6:i386 instead. I wanted to check here first.

Just try it without libncurses. I don’t think it’s required.
If it works for you, can I can remove that from the instructions.

I did have the error.
From arduino:

/home/nathan/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld:/home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/variants/STM32L433CC-ProffieboardV2/linker_scripts/STM32L433CC_FLASH.ld:224: warning: memory region `SRAM2' not declared
lto-wrapper: warning: using serial compilation of 4 LTRANS jobs
lto-wrapper: note: see the '-flto' option documentation for more information
/home/nathan/.arduino15/packages/proffieboard/tools/arm-none-eabi-gcc/14-2-rel1-xpack/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld: warning: start of section .bss changed by 24
fork/exec /home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/tools/linux//dfu-suffix: no such file or directory

Compilation error: fork/exec /home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/tools/linux//dfu-suffix: no such file or directory

If you run:

ldd /home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/tools/linux//dfu-suffix

What does it say?

not a dynamic executable

Did you install the other libraries? libc6:i386 and libstdc++6:i386 ?

I ran this single command:

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

But maybe when it failed at libncurses5, it didn’t install the rest?

That’s right, run it again, but without the libncurses part and see if it works better.

Those 2 did install, but I still have the error

Compilation error: fork/exec /home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/tools/linux//dfu-suffix: no such file or directory

ldd /home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/tools/linux//dfu-suffix

now outputs:

linux-gate.so.1 (0xea5ad000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xea592000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xea34a000)
/lib/ld-linux.so.2 (0xea5af000)

I found this issue, which sounded a lot like mine:

But it did not work. Should I submit an issue? I do not want to pester you too much.

You did this right?

sudo dpkg --add-architecture i386

If you run

home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/tools/linux//dfu-suffix

manually, does that work?

What linux are you running?
Also, how did you install arduino?

Yes.

bash: home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/tools/linux//dfu-suffix: No such file or directory

Coming from Windows, it looks like the double // before dfu-suffix would cause trouble?

Ubuntu 25.04
Arduino 2.3.6 from the gnome software

I think the double slash should be fine, but I missed a slash in the beginning, it should be:

/home/nathan/.arduino15/packages/proffieboard/hardware/stm32l4/4.6/tools/linux//dfu-suffix

If that doesn’t work, try removing the double slash and see if that works better.

I hope this didn’t install a snap or something…
snaps has weird and arbitrary limitations, that could maybe make 32-bit software not work…

If it works from command-line, but not from arduino, try the appimage from the arduino website and see if it works better.

Now I get this:

dfu-suffix (dfu-util) 0.9

Copyright 2011-2012 Stefan Schmidt, 2013-2014 Tormod Volden
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

You need to specify a filename
Usage: dfu-suffix [options] ...
  -h --help			Print this help message
  -V --version			Print the version number
  -c --check <file>		Check DFU suffix of <file>
  -a --add <file>		Add DFU suffix to <file>
  -D --delete <file>		Delete DFU suffix from <file>
  -p --pid <productID>		Add product ID into DFU suffix in <file>
  -v --vid <vendorID>		Add vendor ID into DFU suffix in <file>
  -d --did <deviceID>		Add device ID into DFU suffix in <file>
  -S --spec <specID>		Add DFU specification ID into DFU suffix in <file>

It shouldn’t. I didn’t use the Ubuntu app manager, and downloaded the gnome software myself (to avoid snaps as well). This is what my app list shows, flatpak.

I will try the app image to eliminate that variable.

Looks like it used flathub.
Flathub has a weird way to install things, but I haven’t had any problems with it so far. However, it is possible that flathub is the problem. I know it works with the appimage (because that’s what I use) but I have not tried installing Arduino from flathub.

thanks for the help, but there is more issues

When starting the appimage, it said this:

dlopen(): error loading libfuse.so.2

AppImages require FUSE to run. 
You might still be able to extract the contents of this AppImage 
if you run it with the --appimage-extract option. 
See https://github.com/AppImage/AppImageKit/wiki/FUSE 
for more information

I installed fuse with sudo apt-get -y install libfuse2

now it says this upon starting the appimage:

(zenity:7899): Gtk-WARNING **: 15:27:31.402: Theme parser error: gtk.css:8543:39-43: Expected a valid color.

(zenity:7899): Gtk-WARNING **: 15:27:31.402: Theme parser error: gtk.css:8570:49-53: Expected a valid color.
r: 0
License accepted
[7893:0507/152734.647643:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /tmp/.mount_arduinqVFHED/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

I’ve had this error, but I don’t have it anymore.
Don’t remember what I did to fix it though.
I recommend asking the all-knowing trash heap[1].

[1] google

Well, I’ll be it worked! It successfully compiled a v2 and v3 config.
I had to use --no-sandbox to use it.

It appears to just run, but not “install”? Is that correct? Is there a way to get an entry in the app launcher and/or file association so I can run it from the proffieos.ino?

Yes, that is correct.

Almost certainly.
gnome app shortcuts are just text files, you can probably add one in .local/share/applications/
Not sure how you add a file association though. I do almost everything form a text prompt in linux, so file associations are not really a thing that I care about.

Also, arduino opens in the same state as you closed it, which usually means you can just start arduino and go from there…