So I have already attempted the solutions that were posted here, and I still get the same issue even after reinstalling QGIS: libpng problems for QGIS
I keep getting the following error message:
libpng warning: Application was compiled with png.h from libpng-1.6.36 libpng warning: Application is running with png.c from libpng-1.2.56 libpng error: Incompatible libpng version in application and library
And then when I try to open anything with QGIS, it crashes and then I get this message in the terminal:
libpng warning: Application jmp_buf size changed QGIS died on signal 11Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Opération non permise. No thread selected No stack. gdb returned 256 Abandon (core dumped)
I have tried to rebuild GDAL, which I have installed from source, with updated libpng headers, but that didn't fix my issues. I also installed QGIS from the following apt repository:
Atteint :8 https://qgis.org/ubuntu disco InRelease
And with my installed QGIS, I tried the following command, and I got nothing back:
ldd `which qgis` | grep png
I am at a loss as to what to do, short of completely reininstalling Ubuntu. Has anyone else encountered this issue and found a way to fix it?
EDIT: This is not a duplicate question because there are additional error messages that came with this particular issue, and the fixes that addressed the previous so-called "duplicate" question, as I stated before, did not work. If they worked, and if there weren't also new error messages that make this situation different, then I wouldn't be asking it.