View Full Version : libpng "permission denied"

18th February 2013, 19:01
Most odd and uninformative.

Ubuntu 12.04 LTS with Kde layered on. QT 4.8.0

application compiles, links, and runs but gets an odd error message:

Error opening file for reading: Permission denied

We have tracked this down to libpng.

Same application on Linux Mint 14 KDE dies hard at the exact same place running qt 4.8.4 dies hard

This appears to be quite a common Qt + Ubuntu problem.

Anyone solve this?

19th February 2013, 18:29
You could try running the application with strace and see which file it is trying to open.