Hi all,
after ubuntu upgrade to 22.04, I installed a latest Kicad.
from PPA
ppa:kicad/kicad-8.0-releases
no issue during installation, but I’m getting runtime errors: Application built with libpng-1.2.54 but running with 1.6.37 Couldn’t load a PNG image - file is corrupted or not enough memory.
libpng12 is already installed and other tools works fine
I check using ldd :
ldd /usr/bin/kicad | grep libpng
libpng16.so.16 => /lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f8ff0c52000)
It seems kicad is invoking libpng16 instead of libpng12 …
If you are launching kicad from an icon, check that the correct executable is invoked.
What command do you see when you do a ps x? Hopefully /usr/bin/kicad and not something like /usr/local/bin/kicad or some old binary you have lying around.
What happens when you run /usr/bin/kicad from a terminal window?